botan
botan copied to clipboard
Block & stream ciphers, public key crypto, hashing, KDF, MAC, PKCS, TLS, ASN.1, BER/DER, etc.
Using `new TransformationFilter(new ZlibDecompression)` in a `Pipe` and using `processMsg` to write the zlib-compressed data to the pipe fails with "zlib deflate error: -5". I'm guessing this is due to...
Like the C++ code, on many places the API requires a ptr-length-pair: ``` this(const(ubyte)* input, size_t length, Base base = Binary) ``` The proper D way would be to provide...
http://code.dlang.org/packages/botan.json my dub.json contains: ``` "dependencies": { "vibe-d": "~>0.7.30", "ggplotd": "~>1.1.3", "msgpack-d": "~>1.0.0-beta.6", "msgpack-rpc": "~>0.1.2", "dproto": "~>2.1.1", "dcv": {"path": "/home/timothee/git_clone/D/dcv", "version": "~master",}, "dub": "~>1.3.0", "mir": "~>1.1.0", }, ``` dub build...
Having trouble using botan on OSX. This my first go w/ botan so I may be missing something but I tried on debian and everything worked fine. ``` import botan.passhash.bcrypt;...
``` dub build --config=32mscoff -b release ``` It takes over 3 minutes to build for me. dmd params are: `-m32mscoff -lib -release -inline -O -w` if `-inline` is removed, it...
I get warning: ```sh Running pre-generate commands for botan:base... Notice: Botan uses many symbols. Look into switching from ld (bfd) to ld (Gold) linker to reduce link times from >15s...
Upon seeing this issue on Botan (c++) [1], I wanted to know if Botan (D) will implement this https://github.com/randombit/botan/issues/459
Hi, I'm trying to build using the `subConfigurations` option for 32 bit, or the `arch` option for 64 bit on Windows; however I get the following errors: **64 Bit**: ```...
Given: auto rng = new AutoSeededRNG(); auto ecg = ECGroup("secp384r1"); auto key = ECDHPrivateKey(rng, ecg); auto privKey = key.m_priv; auto pubKey = cast(ECPublicKey)key.m_priv; This will fail for public keys: import...
Just updating some vibe server with latest packages and compilers (botan 1.12.4) dub build -b release --compiler ldc2 ends with ``` botan:base 1.12.4: building configuration "full"... Enhanced memory security is...