Asymmetric public key decryption also known as ECIES.
Under ECDH-SS, the cipher text should have the following format: iv<24> || cipherText || mac<16>
iv<24> || cipherText || mac<16>
Under ECDH-ES and ECDH-EE, the cipher text should have the following format: publicKey<32> || cihperText || mac<16>
publicKey<32> || cihperText || mac<16>
The returned buffers are guaranteed to unpooled. This means the underlying ArrayBuffer is safely transferrable.
ArrayBuffer
Optional
Generated using TypeDoc
Asymmetric public key decryption also known as ECIES.
Under ECDH-SS, the cipher text should have the following format:
iv<24> || cipherText || mac<16>
Under ECDH-ES and ECDH-EE, the cipher text should have the following format:
publicKey<32> || cihperText || mac<16>
The returned buffers are guaranteed to unpooled. This means the underlying
ArrayBuffer
is safely transferrable.