The Cryptlib Hub
Welcome!Here you'll find Cryptlib packages for version 3.4.6 and 3.4.5 prepared to run on various modern Linux distributions. Please note, that version 3.4.5 is already end-of-life'd by the release of version 3.4.7.
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.6 is available from this website. which is a single zip file of 6826568 bytes with a sha256 fingerprint of
c72cfd103eb9fa9f205c14c84ce4fbdf3ead1e2447e830b164dc335141f747bd
.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
RPM-based Packages
Fedora and CentOS
Cryptlib 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 is hosted here.
The All-inclusive Generic RPM Package
It 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.6-2.src-centos85.rpm Source package for rpm-based Linux distributions 9124568 Bytes sha256 cryptlib-3.4.6-2.x86_64-centos85.rpm Binary package for rpm-based Linux distributions 4199404 Bytes sha256 cryptlib-3.4.6-2.src-centos9.rpm Source package for rpm-based Linux distributions 9124362 Bytes sha256 cryptlib-3.4.6-2.x86_64-centos9.rpm Binary package for rpm-based Linux distributions 4329256 Bytes sha256 This package has been tested on Centos 8.5 and Centos 9
File Description Size Fingerprint All inclusive Fedora 34 package Fedora 34 SRC and RPM package sha256 All inclusive Fedora 35 package Fedora 35 SRC and RPM package sha256 All inclusive Fedora 36 package Fedora 36 SRC and RPM package sha256 All inclusive Fedora 37 package Fedora 37 SRC and RPM package sha256 All inclusive Fedora 38 package Fedora 38 SRC and RPM package sha256 These packages have been tested on Fedora 34 to 38
If you find this package to work on other rpm-based Linux I'd like to hear from you.
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
DEB-based Packages
It 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.6.tar.gz Source archive for deb-based Linux distributions 13011883 Bytes sha256 cryptlib_3.4.6-2_amd64-2204.deb Binary package for deb-based Linux distributions 6330842 Bytes sha256 cryptlib_3.4.6-2_amd64-2004.deb Binary package for deb-based Linux distributions 6231840 Bytes sha256 These packages have been tested on Ubuntu 22.04 and 20.04.
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 (cryptlib346.zip) includes pre-compiled binaries for a well-known proprietary OS.
Reporting Bugs
Virtually 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.