| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Cardano.Ledger.Crypto.Internal
Synopsis
- class (UnsoundPureKESAlgorithm (KES c), VRFAlgorithm (VRF c), ContextKES (KES c) ~ (), ContextVRF (VRF c) ~ (), Typeable c) ⇒ Crypto c where
 - data StandardCrypto
 - type HASH = Blake2b_256
 - type ADDRHASH = Blake2b_224
 - type DSIGN = Ed25519DSIGN
 
Documentation
class (UnsoundPureKESAlgorithm (KES c), VRFAlgorithm (VRF c), ContextKES (KES c) ~ (), ContextVRF (VRF c) ~ (), Typeable c) ⇒ Crypto c Source #
Instances
| Crypto StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto.Internal  | |
data StandardCrypto Source #
The same crypto used on the net
Instances
| Crypto StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto.Internal  | |
| type KES StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto.Internal  | |
| type VRF StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto.Internal  | |
type HASH = Blake2b_256 Source #
Hashing algorithm used for hashing everything, except addresses, for which ADDRHASH
 is used.
type ADDRHASH = Blake2b_224 Source #
Hashing algorithm used for hashing cryptographic keys and scripts. As the type synonym name alludes, this is the hashing algorithm used for addresses.
type DSIGN = Ed25519DSIGN Source #
Cryptographic signing algorithm used on Cardano blockchain.