YPC  0.2.0
Public Member Functions | List of all members
ypc::terminus::crypto_pack Class Referenceabstract
Inheritance diagram for ypc::terminus::crypto_pack:
Inheritance graph
[legend]

Public Member Functions

virtual bytes gen_ecc_private_key ()=0
 
virtual bytes gen_ecc_public_key_from_private_key (const bytes &private_key)=0
 
virtual bytes hash_256 (const bytes &msg)=0
 
virtual bytes sign_message (const bytes &msg, const bytes &private_key)=0
 
virtual bool verify_message_signature (const bytes &sig, const bytes &message, const bytes &pubkey)=0
 
virtual bytes ecc_encrypt (const bytes &msg, const bytes &pubic_key, uint32_t prefix)=0
 
virtual bytes ecc_decrypt (const bytes &cipher, const bytes &private_key, uint32_t prefix)=0
 

The documentation for this class was generated from the following file: