nooschain / crypto/key-envelopes / decryptKeyEnvelope
Function: decryptKeyEnvelope()
decryptKeyEnvelope(
args):Promise<Buffer<ArrayBufferLike>>
Defined in: crypto/key-envelopes.ts:117
Opens a sealed DEK envelope with the recipient's key pair.
Parameters
args
envelope
recipientPrivateKey
string
recipientPublicKey
string
Returns
Promise<Buffer<ArrayBufferLike>>