cryptonite v0.24 Release Notes

    • ๐Ÿ“š Ed25519: generateSecret & Documentation updates
    • Repair tutorial
    • RSA: Allow signing digest directly
    • IV add: fix overflow behavior
    • P256: validate point when decoding
    • Compilation fix with deepseq disabled
    • ๐Ÿ‘Œ Improve Curve448 and use decaf for Ed448
    • ๐Ÿ”€ Compilation flag blake2 sse merged in sse support
    • ๐Ÿ–จ Process unaligned data better in hashes and AES, on architecture needing alignment
    • โฌ‡๏ธ Drop support for ghc 7.6
    • โž• Add ability to create random generator Seed from binary data and loosen constraint on ChaChaDRG seed from ByteArray to ByteArrayAccess.
    • โž• Add 3 associated types with the HashAlgorithm class, to get access to the constant for BlockSize, DigestSize and ContextSize at the type level. the related function that this replaced will be deprecated in later release, and eventually removed.

    API CHANGES:

    • ๐Ÿ‘Œ Improve ECDH safety to return failure for bad inputs (e.g. public point in small order subgroup). To go back to previous behavior you can replace ecdh by ecdhRaw. It's recommended to use ecdh and handle the error appropriately.
    • ๐Ÿ‘‰ Users defining their own HashAlgorithm needs to define the HashBlockSize, HashDigest, HashInternalContextSize associated types