Skip to Content

decryptDataBytes

decryptDataBytes(encryptedHex: string, address: string): Promise<Uint8Array<ArrayBufferLike>>

Defined in: src/react/useEncryption.ts:513 

Decrypts data and returns as Uint8Array (for binary data)

Parameters

ParameterTypeDescription

encryptedHex

string

Encrypted data as hex string (IV + ciphertext + auth tag)

address

string

Returns

Promise<Uint8Array<ArrayBufferLike>>

Decrypted data as Uint8Array

Last updated on