iya-sts
    Preparing search index...

    Variable encryptJweCompactAsync

    encryptJweCompactAsync: (plaintext: any, opts: any) => Promise<string> = encryptJweCompactAsync

    Type Declaration

      • (plaintext: any, opts: any): Promise<string>
      • Encrypts a plaintext as a compact JWE, deriving a PBES2 key off the event loop. Takes the options encryptJweCompact() takes.

        Parameters

        • plaintext: any

          the plaintext

        • opts: any

          as encryptJweCompact()

        Returns Promise<string>

        a promise of the compact JWE