Skip to content
docs

verifyDecryptionKey

verifyDecryptionKey(decryptionKey, identity, eonKey): boolean

Defined in: crypto.ts:168

True when decryptionKey is the key the keypers release for identity under eonKey: e(key, G2) = e(Q, eonKey). A key that fails this cannot decrypt the message, and an API that serves one is wrong or lying.

BytesLike

BytesLike

BytesLike

boolean