Methods
(async) decrypt(cipher, options)
This function decrypts a message
Parameters:
Name | Type | Description |
---|---|---|
cipher |
Int | Shared Symmetric key |
options |
Object | Options for decrypying the message |
Returns:
TODO: confirm type sigDecrypt Decrypted message
(async) encrypt(message, options)
This function encrypts a message
Parameters:
Name | Type | Description |
---|---|---|
message |
String | Message to send |
options |
Object | Options for encrypting the message |
Returns:
TODO: confirm type sigEncrypt Encrypted message