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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulecrypton-2.1.7Haskell2010

Crypto.PubKey.Rabin.Modified

Modified-Rabin public-key digital signature algorithm. See algorithm 11.30 in "Handbook of Applied Cryptography" by Alfred J. Menezes et al. The Jacobi symbols here are taken modulo the public modulus, not the private primes, so what Crypto.PubKey.Rabin.Basic says about that does not apply; the note there about Integer arithmetic does.

  • 2 types
  • 3 values
  • Packagecrypton-2.1.7
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • SourceModified.hs
datadata PrivateKey
#

Represent a Modified-Rabin private key.

Constructors

Instances5Eq, Data, Read, Show, DebugShow
  • Eq PrivateKeyDefined in crypton-2.1.7 · Crypto.PubKey.Rabin.Modified
  • Data PrivateKeyDefined in crypton-2.1.7 · Crypto.PubKey.Rabin.Modified
  • Read PrivateKeyDefined in crypton-2.1.7 · Crypto.PubKey.Rabin.Modified
  • Show PrivateKeyDefined in crypton-2.1.7 · Crypto.PubKey.Rabin.Modified

    The public part is shown; the secret fields are not. Use debugShow to see them.

  • DebugShow PrivateKeyDefined in crypton-2.1.7 · Crypto.PubKey.Rabin.Modified