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

Modulecardano-crypto-1.3.0Haskell2010

Crypto.ECC.Ed25519BIP32

  • 25 types
  • 1 class
  • 18 values
typetype ChildKey (didxs :: DerivationHier) = Key
#

A child key is similar to the key in structure except it has an additional annotation representing the indexes for the hierarchy derivation indexes from a base Key (usually the root key)

typetype Key = (FBits 256, FBits 256, ChainCode)
#

A key is a 512 bit random value and a chaincode

Left half need to have: * Lowest 3 bits clear * Highest bit clear * Second highest bit set * Third highest bit clear

Right half doesn't have any particular structure.

typetype PointCompressed = FBits 256
#

A point is 1 bit of x sign and 255 bit of y coordinate (y's 256th bit is always 0)

newtypenewtype Hash (n :: Nat)
#

A n bits Digest

Constructors

Instances1Eq
  • Eq (Hash n)Defined in cardano-crypto-1.3.0 · Crypto.ECC.Ed25519BIP32
typetype Tag = Bytes 1
#

A Serialized tag used during HMAC