Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Package all the crypto constraints into one place.
Synopsis
- class (HashAlgorithm (HASH c), HashAlgorithm (ADDRHASH c), DSIGNAlgorithm (DSIGN c), KESAlgorithm (KES c), VRFAlgorithm (VRF c), ContextDSIGN (DSIGN c) ~ (), ContextKES (KES c) ~ (), ContextVRF (VRF c) ~ (), Typeable c) ⇒ Crypto c where
- data StandardCrypto
Documentation
class (HashAlgorithm (HASH c), HashAlgorithm (ADDRHASH c), DSIGNAlgorithm (DSIGN c), KESAlgorithm (KES c), VRFAlgorithm (VRF c), ContextDSIGN (DSIGN c) ~ (), ContextKES (KES c) ~ (), ContextVRF (VRF c) ~ (), Typeable c) ⇒ Crypto c Source #
Instances
Crypto StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto type HASH StandardCrypto Source # type ADDRHASH StandardCrypto Source # type DSIGN StandardCrypto Source # type KES StandardCrypto Source # type VRF StandardCrypto Source # |
data StandardCrypto Source #
The same crypto used on the net
Instances
Crypto StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto type HASH StandardCrypto Source # type ADDRHASH StandardCrypto Source # type DSIGN StandardCrypto Source # type KES StandardCrypto Source # type VRF StandardCrypto Source # | |
type ADDRHASH StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto | |
type DSIGN StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto | |
type HASH StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto | |
type KES StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto | |
type VRF StandardCrypto Source # | |
Defined in Cardano.Ledger.Crypto |