Ring Daemon 16.0.0
Loading...
Searching...
No Matches
Common.h File Reference
Include dependency graph for libdevcrypto/Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dev::KeyPair
 Simple class that represents a "key pair". More...
 
struct  dev::SignatureStruct
 

Namespaces

namespace  dev
 
namespace  dev::crypto
 

Typedefs

using dev::Public = h512
 A public key: 64 bytes.
 
using dev::Secret = SecureFixedHash< 32 >
 
using dev::Secrets = std::vector< Secret >
 A vector of secrets.
 
using dev::Signature = h520
 A signature: 65 bytes: r: [0, 32), s: [32, 64), v: 64.
 

Functions

Address dev::toAddress (Public const &_public)
 Convert a public key to address.
 
Address dev::toAddress (Secret const &_secret)
 Convert a secret key into address of public key equivalent.
 
Public dev::toPublic (Secret const &_secret)
 Convert a secret key into the public key equivalent.
 

Detailed Description

Author
Alex Leverington nesse.nosp@m.nce@.nosp@m.gmail.nosp@m..com
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Ethereum-specific data structures & algorithms.

Definition in file libdevcrypto/Common.h.