@@ -120,25 +120,25 @@ Encrypts given data for a specific entity and returns the encrypted message
...
@@ -120,25 +120,25 @@ Encrypts given data for a specific entity and returns the encrypted message
`string`
`string`
Content to be encrypted
Content to be encrypted. Does not have to be in any specific format. Can contain any characters encodable by JS string (UTF-16 characters)
##### key
##### key
`string`
`string`
public key to find the private key in the wallet and encrypt the data
public key in WIF format to find the private key in the wallet and encrypt the data
##### anotherKey?
##### anotherKey?
`string`
`string`
other public key to find the private key in the wallet and encrypt the data (optional - use if the message is to encrypt for somebody else)
other public key in WIF format to find the private key in the wallet and encrypt the data (optional - use if the message is to encrypt for somebody else)
##### nonce?
##### nonce?
`number`
`number`
optional nonce to be explicitly specified for encryption
optional nonce to be explicitly specified for encryption. Used for reproducible results. If not provided, random nonce is generated internally
#### Returns
#### Returns
...
@@ -152,7 +152,7 @@ on any beekeeper API-related error (error parsing response, invalid input, timeo
...
@@ -152,7 +152,7 @@ on any beekeeper API-related error (error parsing response, invalid input, timeo