botan
botan copied to clipboard
Haskell bindings for the Botan cryptography library
Because `memory` is unmaintained, but the utility provided is valuable.
Cryptonite/crypton provide a nice interface for incremental hashing via the [API](https://hackage.haskell.org/package/crypton-0.34/docs/Crypto-Hash.html#g:4) (unnecessary type indirection removed for clarity): ```haskell hashInit :: HashAlgorithm a => Context a hashUpdates :: HashAlgorithm a =>...
Add instructions on howto easily use it on Windows The easy way to build on Windows is to install libbotan package using MSYS2/MinGW and add some information to project.cabal. MSYS2/MinGW64...
PKCS1v15 is susceptible to some attacks. Prefer OAEP. - https://medium.com/@c0D3M/bleichenbacher-attack-explained-bc630f88ff25 - https://robotattack.org/
I noticed that the latest Ubuntu box on github actions is on 22.04 which the botan package is at 2.19 and it looks like in new releases of ubuntu it...
## Error handling 1. The library does not need to throw exceptions on any level. The control flow when interfacing with a C library inevitably unrolls to ```haskell handle (\(BotanException...
They were not correctly defined and it manifested in compilation errors with GCC 14 which enabled `-Werror=incompatible-pointer-types`.
I was wondering if we could add in the binding to the botan threshold secret sharing api?
The version on Hackage still suffers from the bug fixed in #17.