Vana SDK - v3.5.0
    Preparing search index...

    Function decryptWithPassword

    • Decrypt an OpenPGP password-encrypted binary.

      Parameters

      • encrypted: Uint8Array

        OpenPGP-encrypted binary data.

      • password: string

        Hex-encoded scope key.

      Returns Promise<Uint8Array<ArrayBufferLike>>

      Decrypted plaintext bytes.

      If the password is wrong or the data is corrupted.