/crypto_wrapper

Simple crypto wrapper routines for OpenSSL, Nettle and BCrypt

Primary LanguageCGNU Lesser General Public License v2.1LGPL-2.1

crypto_wrapper

simple Crypto wrapper library

Crypto libraries supported:

  • OpenSSL (min. required version 1.0.1, not tested with OpenSSL 3.0)
  • Nettle (used by GnuTLS)
  • BCrypt (Windows native Crypto next generation)

Supported block ciphers and sizes

  • AES-128
  • AES-192
  • AES-256

Supported block cipher modes of operation

  • ECB (electronic codebook)
  • CBC (cipher block chaining)
  • GCM (galois/counter mode)
  • CTR (counter)

Supported hash algorithms

  • MD5
  • SHA1
  • SHA224
  • SHA256
  • SHA384
  • SHA512

MD5 and SHA1 hash algorithms are disabled by default. For enabling use the CMake option -DWITH_SECURE_HASHES=OFF.

API functions: