• Parameters

    Returns Promise<Buffer>

  • Parameters

    • encryptedMessage: EncryptedMessageObject
    • password: string
    • encoding: "utf8" | "utf-8"
    • Optional options: {
          getKey?: ((options: {
              iterations: number;
              memorySize: number;
              parallelism: number;
              password: string;
              salt: Buffer;
          }) => Promise<Buffer>);
      }
      • Optional getKey?: ((options: {
            iterations: number;
            memorySize: number;
            parallelism: number;
            password: string;
            salt: Buffer;
        }) => Promise<Buffer>)
          • (options: {
                iterations: number;
                memorySize: number;
                parallelism: number;
                password: string;
                salt: Buffer;
            }): Promise<Buffer>
          • Parameters

            • options: {
                  iterations: number;
                  memorySize: number;
                  parallelism: number;
                  password: string;
                  salt: Buffer;
              }
              • iterations: number
              • memorySize: number
              • parallelism: number
              • password: string
              • salt: Buffer

            Returns Promise<Buffer>

    Returns Promise<string>

Generated using TypeDoc