Botan 是一个 C++ 的加密算法库,支持 AES, DES, SHA-1, RSA, DSA, Diffie-Hellman 等多种算法,支持 X.509 认证以及CRLs 和 PKCS #10 ,这里是一段示例代码。
Botan 1.10.6 改进记录:
- A previously conditional operation in Montgomery multiplication and squaring is now always performed, removing a possible timing channel.
- A potential crash in the AES-NI implementation of the AES-192 key schedule (caused by misaligned loads) has been fixed.
- The correct flags for creating a shared library on OS X under Clang are now used, and a compile time incompatibility with Visual C++ 2012 has been fixed.