SecureD 2.0 Released

Adam Wilson flyboynw at gmail.com
Mon Dec 31 03:54:31 UTC 2018


SecureD is a library that provides strong cryptography with a 
simple-to-use interface that ensures that your data will be correctly 
and securely stored with a minimum amount of effort.

What's New in 2.0?

Complete rewrite of symmetric encryption and decryption.
Prior to V2 the standard encryption and decryption functions only 
provided one set of algorithms and no path to use safe alternatives or 
work with encrypted data from other sources. Both of these shortcomings 
have now been rectified. If you need to perform custom encryption or 
interoperate with other systems, please see the encrypt_ex and 
decrypt_ex functions.

New algorithms.
- Digests:
   - SHA2 512/224, 512/256
   - SHA3 224, 256, 384, 512
- Symmetric Algorithms: AES (128/192/256), ChaCha20
   - Stream Modes: GCM, CTR, Poly1305 (ChaCha20 only)
   - Block Modes: OFB, CFB, CBC (PKCS7 Padding Only)
- KDFs:
   - HKDF
   - SCrypt
- ECC:
   - P256 Curve
   - P521 Curve

To support these new algorithms, SecureD now requires OpenSSL 1.1.1. It 
is my opinion that, as 1.1.1 is the new LTS release, it would be prudent 
to upgrade now as 1.1.1 will be support for many years to come.

Please note that the API's have changed significantly. Additionally, due 
to the major overhaul of the symmetric encryption code and the new 
algorithms, I was unable to upgrade the Botan code-path and was forced 
to remove it to ship. If anybody is interested in doing the work to 
bring Botan back into the project I would be grateful.

-- 
Adam Wilson
IRC: EllipticBit
import quiet.dlang.dev;


More information about the Digitalmars-d-announce mailing list