Skip to main content

lib/asymmetricCrypto

Api Code Documentation / Exports / lib/asymmetricCrypto

Table of contents#

Functions#

Functions#

decryptWithKey#

decryptWithKey(toDecrypt, privateKey): Type<string>

Parameters#

NameType
toDecryptany
privateKeyany

Returns#

Type<string>

Defined in#

src/lib/asymmetricCrypto.ts:15


encryptWithKey#

encryptWithKey(toEncrypt, publicKey): Type<string>

Parameters#

NameType
toEncryptany
publicKeyany

Returns#

Type<string>

Defined in#

src/lib/asymmetricCrypto.ts:5