HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulekes-agent-crypto-1.2.0.0Haskell2010

Cardano.KESAgent.Protocols.StandardCrypto

Standard crypto implementations. These mirror the respective types in ouroboros-consensus / cardano-ledger; we are redefining them here to avoid depending on those packages, and skip the parts that aren't relevant to KES agents.

  • 4 types
datadata StandardCrypto
#

The standard crypto used on the production chain.

Instances4Crypto, NamedCrypto, KES, DSIGN

A variant of StandardCrypto that uses the Compact flavors of the KES types (CompactSumKES and CompactSingleKES).

Instances4Crypto, NamedCrypto, KES, DSIGN
datadata SingleCrypto
#

Crypto that uses SingleKES. Only used for testing.

Instances4Crypto, NamedCrypto, KES, DSIGN
datadata MockCrypto
#

Mock crypto. Only used for testing.

Instances4Crypto, NamedCrypto, KES, DSIGN
  • Crypto MockCryptoDefined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.StandardCrypto
  • NamedCrypto MockCryptoDefined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.StandardCrypto
  • type KES MockCrypto = MockKES 128Defined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.StandardCrypto
  • type DSIGN MockCrypto = Ed25519DSIGNDefined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.StandardCrypto