Library API
    Preparing search index...

    Function decrypt

    • Decrypts a Base64-encoded encrypted string using the module-scoped ephemeral symmetric key.

      Parameters

      • secret: string | Promise<string>

        The encrypted string (or a promise resolving to one)

      Returns Promise<string>

      A promise resolving to the decrypted, deserialized data