Botan is a BSD-licensed crypto library for C++ applications. It provides access to most major cryptographic algorithms.
Questions tagged [botan]
127 questions
0
votes
2 answers
QString to const byte* conversion
I'm trying to use the Botan library to create a SHA-256 hash of a couple QStrings - a password and a salt. I have made many attempts trying to get a concatenated salt+password into the correct type for input into the Botan process function. The…

DarwinIcesurfer
- 1,073
- 4
- 25
- 42
0
votes
1 answer
Trouble using Botan with Qt
I am using Qt and I am trying to use Botan. Everything seemed to go well, but when I go:
Botan::BigInt myInt;
In my constructor it works fine, but on the other hand if I go:
Botan::AutoSeeded_RNG rng;
It throws undefined…

hetelek
- 3,776
- 5
- 35
- 56
0
votes
1 answer
How can I compute another bit pattern with identical SHA-160 sum?
I want to test my application when it gets tricked by a false passed SHA-160 sum and thus would like to compute a change to the data being summed which results in the original SHA-160 sum again and thus would be missed. I am using the Botan library…

WilliamKF
- 41,123
- 68
- 193
- 295
0
votes
2 answers
Python Base64 string shorter than Botan Base64 string
I've managed to get AES/Rijndael [256bit key / 128bit block size] symmetric encryption working: encrypt with pycrypto and decrypting with Botan in C++.
However, when I try to base64 encode the encryption result in python, the resulting string is…
-1
votes
1 answer
Botan library - fastest digital signature verification
I am looking for the fastest algorithm, where I can verify a digital signature of a blob. The algorithm shouldn't necessarily be cryptographically secure, just make sure that it's not trivially fakable. Signing time neither counts in my case.
Any…

original.roland
- 640
- 5
- 17
-1
votes
1 answer
botan development package not found
0I'm trying to do SFTP in qtcreator (installed in rpi noobs). I have come across this project https://github.com/sandsmark/QSsh. While following these steps:
git clone https://github.com/sandsmark/QSsh.git
cd QSsh
mkdir build
cd build
qmake…

psk
- 11
- 5
-3
votes
1 answer
AccessViolationException - When calling Botan::LibraryInitializer
I'm building a managed wrapper for Botan crypto in .NET and following the getting started instructions here
Getting Started
And the library reference
I'm trying to execute the LibraryInitializer first, but when I call it it throws an…

erotavlas
- 4,274
- 4
- 45
- 104