Skip to content

EncryptRequestData

Base interface for encryption requests.

data: Uint8Array

Data to be encrypted.

types/src/CryptoCallbacks.ts:67


did: `did:cord:3${string}`

The DID to be used for encryption.

types/src/CryptoCallbacks.ts:75


peerPublicKey: Uint8Array

The other party’s public key to be used for x25519 Diffie-Hellman key agreement.

types/src/CryptoCallbacks.ts:71