YPC  0.2.0
Public Types | Public Member Functions | List of all members
ypc::terminus::crypto_pack_t< Crypto > Class Template Reference
Inheritance diagram for ypc::terminus::crypto_pack_t< Crypto >:
Inheritance graph
[legend]
Collaboration diagram for ypc::terminus::crypto_pack_t< Crypto >:
Collaboration graph
[legend]

Public Types

typedef Crypto crypto_t
 

Public Member Functions

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

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