Skip to content

nooschain v0.1.0


nooschain / crypto/encryption / decryptPayload

Function: decryptPayload()

decryptPayload(args): Promise<Buffer<ArrayBufferLike>>

Defined in: crypto/encryption.ts:234

Decrypts a per-record encrypted payload by opening the matching DEK envelope.

Parameters

args

encryptedPayloadBase64

string

encryptionMetadata

EncryptionMetadata

keyEnvelopes

KeyEnvelope[]

recipientPrivateKey

string

recipientPublicKey

string

Returns

Promise<Buffer<ArrayBufferLike>>

Audience-first NOOSChain documentation.