Namespace: Encryption
Table of contents
Functions
Functions
decrypt
▸ decrypt(__namedParameters, privateKey): Field[]
Parameters
| Name | Type |
|---|---|
__namedParameters | CipherText |
privateKey | PrivateKey |
Returns
Field[]
Defined in
encrypt
▸ encrypt(message, otherPublicKey): Object
Parameters
| Name | Type |
|---|---|
message | Field[] |
otherPublicKey | PublicKey |
Returns
Object
| Name | Type |
|---|---|
cipherText | Field[] |
publicKey | Group |