The Cryptlib Hub
Here you'll find Cryptlib packages prepared to run on various modern Linux distributions.
The Cryptlib Source Code
Cryptlib is a comprehensive security toolbox, developed and maintained by Peter Gutmann.
You'll find the open-source page here and the commercial page here. Cryptlib is licensed both under an open-source Sleepycat license and alternatively - if you don't want to comply with these terms - under a commercial license. In addition to this, parts of Cryptlib are licensed under OpenSSL.
The original Cryptlib source code version 3.4.5 is available from this website. which is a single zip file of 6139150 bytes with a sha256 fingerprint of
If you're looking for an older version of Cryptlib you may find it on this download page for older Linux distributions (Ubuntu 14.04 16.04, Fedora 26 and Centos 7) .
My Changes to the Source Code
To be honest, I hate to make any change to the original source code. But in order to compile a comprehensive package I needed to make some changes, all of them have been approved by Peter Gutmann.
- To enable JAVA bindings I switched "#define USE_JAVA" on and added jni.h and jni_md.h for compilation
- Building the Perl module required adding the files typeset and ppport.h to the bindings directory
Fedora and EPELCryptlib is part of the Fedora distribution since June 2016 and can be installed withdnf install cryptlib*
A mirror of the current packages for x86_64, i686, ppc64le and aarch64 is hosted here.
The All-inclusive Generic RPM PackageIt is my intention to produce an up-to-date RPM package that includes everything including the excellent Cryptlib manual as well as example code for various programming languages (C/C++, Python, Java, Perl). This is the result:
File Description Size Fingerprint cryptlib-3.4.5-1.src.rpm Source package for rpm-based Linux distributions 8509114 Bytes sha256 cryptlib-3.4.5-1.x86_64.rpm Binary package for rpm-based Linux distributions 4274704 Bytes sha256
This package has been tested on Fedora 29 and 30
If you find this package to work on other rpm-based Linux I'd like to hear from you.
DEB-based PackagesIt is also my intention to produce an up-to-date DEB package that includes everything including the excellent Cryptlib manual as well as example code for various programming languages (C/C++, Python, Java, Perl). This is the result:
File Description Size Fingerprint cryptlib_3.4.5.tar.gz Source archive for deb-based Linux distributions 14135345 Bytes sha256 cryptlib_3.4.5-1_amd64.deb Binary package for deb-based Linux distributions 3945136 Bytes sha256
This package has been tested on Ubuntu 18.04.
If you find this package to work on other deb-based Linux I'd like to hear from you too.
Binaries for the Odd OS
The original source code archive (cl345.zip) includes pre-compiled binaries for a well-known proprietary OS.
Reporting BugsVirtually any project can be based on Cryptlib as it supports a number of programming languages, including C/C++, Java, Perl and Python. If you run into any problem using the packages above I'd like to hear from you.
Please also contact me, if you need a helping hand to base your project on Cryptlib.