@fruitsjs/crypto
Version:
Cryptographic functions for building Fruits Eco-Blockchain apps.
22 lines (21 loc) • 428 B
text/typescript
/**
* Keys interface
*
* The Keys class is used to encompass keys associated to an account.
*
* @module crypto
*/
export interface Keys {
/**
* The private key used for P2P message encryption
*/
agreementPrivateKey: string;
/**
* The public key
*/
publicKey: string;
/**
* The private key used for transaction signing
*/
signPrivateKey: string;
}