Optional
encOptional
sigPrivate key to use to sign the message, either encPublicKey
or symKey
must be provided as only
encrypted messages are signed.
Optional
symKey to use to encrypt the messages using AES (Symmetric Encryption).
if both encPublicKey
and symKey
are passed
Optional
timestampTimestamp to set on the message, defaults to now if not passed.
Generated using TypeDoc
Public Key to use to encrypt the messages using ECIES (Asymmetric Encryption).
Throws
if both
encPublicKey
andsymKey
are passed