Skip to content

nooschain v0.1.0


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

KeyEnvelope

recipientPrivateKey

string

recipientPublicKey

string

Returns

Promise<Buffer<ArrayBufferLike>>

Audience-first NOOSChain documentation.