The Cryptlib Hub

Welcome!

Here you'll find the latest Cryptlib packages version 3.4.9 prepared to run on various modern Linux distributions.

The Cryptlib Source Code Version 3.4.9

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 most up-to-date, official Cryptlib source code version 3.4.9 is available from this GitHub release (Feb. 2026) which is a single zip file of 10026930 bytes with a sha256 fingerprint of
a48059edfde23097582ad21b93b8372b97ac878ade6c6e2a670afed8ad9e5cbe.

If you're looking for an older version 3.4.8 of Cryptlib you may find it on this download page for Linux distributions (Ubuntu 24.04, 22.04, 20.04, Fedora 35 to Fedora 44, Centos 8.5, Centos 9 and Centos 10).

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 with

dnf install cryptlib*

A mirror of the current packages for x86_64 is hosted here.

Clang

Starting with Cryptlib version 3.4.9, I will now use the clang compiler instead of gcc to build the following packages.

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.9-centos10-clang.1.src.rpm Source package for rpm-based Linux distributions 12511107 Bytes sha256
cryptlib-3.4.9-centos10-clang.1.x86_64.rpm Binary package for rpm-based Linux distributions 4677382 Bytes sha256
cryptlib-3.4.9-centos10-debug.1.x86_64.rpm Binary package with debug output to stderr 4893913 Bytes sha256
cryptlib-3.4.9-centos9-clang.1.src.rpm Source package for rpm-based Linux distributions 12495140 Bytes sha256
cryptlib-3.4.9-centos9-clang.1.x86_64.rpm Binary package for rpm-based Linux distributions 4842544 Bytes sha256
cryptlib-3.4.9-centos9-debug.1.x86_64.rpm Binary package with debug output to stderr 5061299 Bytes sha256
cryptlib-3.4.9-centos85-clang.1.src.rpm Source package for rpm-based Linux distributions 12496130 Bytes sha256
cryptlib-3.4.9-centos85-clang.1.x86_64.rpm Binary package for rpm-based Linux distributions 4740528 Bytes sha256
cryptlib-3.4.9-centos85-debug.1.x86_64.rpm Binary package with debug output to stderr 4971948 Bytes sha256

These packages have been tested on Centos 8.5, 9 and Centos 10

File Description Size Fingerprint
All inclusive Fedora 40 package Fedora 40 SRC and RPM package sha256
All inclusive Fedora 41 package Fedora 41 SRC and RPM package sha256
All inclusive Fedora 42 package Fedora 42 SRC and RPM package sha256
All inclusive Fedora 43 package Fedora 43 SRC and RPM package sha256
All inclusive Fedora 45 package Fedora 45 SRC and RPM package sha256

These packages have been tested on Fedora 40 to 45
If you find this package to work on other rpm-based Linux I'd like to hear from you.

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.9.orig.2404.tar.gz Source archive for deb-based Linux distributions 7681733 Bytes sha256
cryptlib_3.4.9.orig.2204.tar.gz Source archive for deb-based Linux distributions 7681034 Bytes sha256
cryptlib_3.4.9-1_amd64.2404.deb Binary package for deb-based Linux distributions 7522436 Bytes sha256
cryptlib_3.4.9-1_amd64.2204.deb Binary package for deb-based Linux distributions 7583932 Bytes sha256

These packages have been tested on Ubuntu 24.04, 22.04 (and 26.04 coming soon).

Binaries for the Odd OS

The original source code archive (cryptlib-3.4.9.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.