lib/asymmetricCrypto
Api Code Documentation / Exports / lib/asymmetricCrypto
Table of contents
Functions
Functions
decryptWithKey
▸ decryptWithKey(toDecrypt, privateKey): Type<string>
Parameters
| Name | Type |
|---|---|
toDecrypt | any |
privateKey | any |
Returns
Type<string>
Defined in
src/lib/asymmetricCrypto.ts:17
encryptWithKey
▸ encryptWithKey(toEncrypt, publicKey): Type<string>
Parameters
| Name | Type |
|---|---|
toEncrypt | any |
publicKey | any |
Returns
Type<string>