Skip to content

EncryptedData

Defined in: ootle/src/stealth/primitives.ts:67

Opaque carrier for an output’s ciphertext bytes (the AEAD-encrypted value/mask/memo payload). Treated as opaque here: the stealth module never inspects the plaintext structure, only carries the bytes across the JSON boundary.

new EncryptedData(bytes): EncryptedData

Defined in: ootle/src/stealth/primitives.ts:70

Uint8Array

EncryptedData

toBytes(): Uint8Array

Defined in: ootle/src/stealth/primitives.ts:80

Raw ciphertext bytes (defensive copy).

Uint8Array


toHex(): string

Defined in: ootle/src/stealth/primitives.ts:85

Hex encoding.

string


static fromHex(hex): EncryptedData

Defined in: ootle/src/stealth/primitives.ts:75

Parse a hex string into EncryptedData (variable length).

string

EncryptedData