/CryptoImp

My Cryptography algorithm implements

Primary LanguageC

My Cryptography algorithm implements.

Algorithms

Hash

  • MD5 RFC 1321
  • SHA1 FIPS-180
  • SHA2 FIPS-180
    • SHA-224
    • SHA-256, with HMAC rfc2104
    • SHA-384
    • SHA-512
    • SHA-512/224
    • SHA-512/256
  • SHA3 FIPS-202
    • SHA3_224
    • SHA3_256
    • SHA3_384
    • SHA3_512
    • SHAKE128
    • SHAKE256
  • SM3

Symmetric cipher

Block cipher:

Stream cipher:

  • chacha20 RFC 8439
  • zuc
  • AES with modes: CFB, OFB, CTR

Asymmetric cipher

RFC 8017: PKCS #1: RSA:

  • pkcs1 oaep
  • pkcs1 pss

Elliptic Curve Cryptography:

  • Encryption & Decryption
  • ECDSA, FIPS 186-5
  • Elliptic Curves
    • Curves in Short-Weierstrass Form
      • P-192/224/256/384/521, W-25519/448
      • SM2