How To Install bcrypt on CentOS 7

In this tutorial we learn how to install bcrypt on CentOS 7. bcrypt is File encryption utility

Introduction

In this tutorial we learn how to install bcrypt on CentOS 7.

What is bcrypt

Bcrypt is a cross platform file encryption utility. Encrypted files are portable across all supported operating systems and processors. Passphrases must be between 8 and 56 characters and are hashed internally to a 448 bit key. However, all characters supplied are significant. The stronger your passphrase, the more secure your data. In addition to encrypting your data, bcrypt will by default overwrite the original input file with random garbage three times before deleting it in order to thwart data recovery attempts by persons who may gain access to your computer. Bcrypt uses the blowfish encryption algorithm published by Bruce Schneier in 1993.

We can use yum or dnf to install bcrypt on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bcrypt.

Install bcrypt on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install bcrypt using yum by running the following command:

sudo yum -y install bcrypt

Install bcrypt on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install bcrypt using dnf by running the following command:

sudo dnf -y install bcrypt

How To Uninstall bcrypt on CentOS 7

To uninstall only the bcrypt package we can use the following command:

sudo dnf remove bcrypt

References

Summary

In this tutorial we learn how to install bcrypt on CentOS 7 using yum and dnf.