@salvobee/crypto-vault
    Preparing search index...

    Function unwrapKeyForRecipient

    • Unwrap an AES key previously wrapped via wrapKeyForRecipient.

      Parameters

      • wrappedKeyB64: string

        Base64URL representation of the wrapped key.

      • recipientPrivateKey: CryptoKey

        The recipient's RSA-OAEP private key.

      Returns Promise<CryptoKey>

      The restored AES-GCM key.