Bee2 is a cryptographic library which implements cryptographic algorithm and protocols standardized in Belarus. Bee2 fully supports the following standards (see apmi.bsu.by/resources/std.html):
- STB 34.101.31 (belt): data encryption and integrity algorithms.
- STB 34.101.45 (bign): digital signature and key transport algorithms based on elliptic curves.
- STB 34.101.47 (brng): cryptographic algorithms of pseudorandom number generation + one-time passwords.
- STB 34.101.60 (bels): secret sharing algorithms.
- STB 34.101.66 (bake): key establishment protocols based on elliptic curves.
- STB 34.101.77 (bash): hashing algorithms.
Additionally, Bee2 implements digital signature algorithms standardized in Russia and Ukraine.
mkdir build
cd build
cmake [-DCMAKE_BUILD_TYPE={Release|Debug|Coverage|ASan|ASanDbg|MemSan|MemSanDbg|Check|CheckFull}] ..
make
[make test]
[make install]
Build types (Release by default):
- Coverage -- test coverage,
- ASan, ASanDbg -- address sanitizer,
- MemSan, MemSanDbg -- memory sanitizer,
- Check, CheckFull -- strict compile rules.
Bee2 is released under the terms of the GNU General Public License version 3 (GNU GPLv3). See LICENSE for more information.