Skip to content
docs

EncryptInput

Defined in: crypto.ts:128

readonly eonKey: BytesLike

Defined in: crypto.ts:134

The eon public key (G2, 96 bytes compressed).


readonly identity: BytesLike

Defined in: crypto.ts:132

The 32-byte identity the decryption key will be released for.


readonly message: BytesLike

Defined in: crypto.ts:130

The plaintext.


readonly optional sigma?: BytesLike

Defined in: crypto.ts:136

32 random bytes. Generated with crypto.getRandomValues when absent; pass one only to reproduce a vector.