Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
/ hs-crypto-pubkey Public archive

DEPRECATED - use cryptonite - Cryptographic public key related algorithms in haskell (RSA,DSA,DH,ElGamal)

License

Notifications You must be signed in to change notification settings

vincenthz/hs-crypto-pubkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto-pubkey

Build Status BSD Haskell

An extensive public key cryptography library for haskell.

Features

  • RSA
    • all major modes supported: PKCS15, OAEP, PSS
    • Support fast RSA decryption and signing: using RSA key by-product when possible
    • RSA with blinder: not comprimising security for performance.
  • DSA
  • ECDSA
    • There is no protection against timing attacks yet. Signing may leak the public key, verification should be fine.
    • It's slow, not optimized yet.
  • Diffie Hellman: just primitives
  • ElGamal
    • signature/verification scheme
    • encryption/decryption primitive

TODO

See TODO file.

Tests

An extensive battery of tests is available in the Tests directory. It contains quickcheck properties, and KATs (Known-Answer-Tests).

Benchmarks

Operations (mainly RSA for now) can be benchmarks using the benchmark suite available in the Benchmarks directory.

About

DEPRECATED - use cryptonite - Cryptographic public key related algorithms in haskell (RSA,DSA,DH,ElGamal)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •