UNPKG

@fruitsjs/crypto

Version:

Cryptographic functions for building Fruits Eco-Blockchain apps.

3 lines (2 loc) 202 B
import { EncryptedMessage } from './typings/encryptedMessage'; export declare function encryptMessage(plaintext: string, recipientPublicKeyHex: string, senderPrivateKeyHex: string): EncryptedMessage;