How To Install libcrypto++-utils on Kali Linux

In this tutorial we learn how to install libcrypto++-utils on Kali Linux. libcrypto++-utils is General purpose cryptographic library - utilities and data files

Introduction

In this tutorial we learn how to install libcrypto++-utils on Kali Linux.

What is libcrypto++-utils

libcrypto++-utils is:

Crypto++ is library for creating C++ programs which use cryptographic algorithms. The library uses a Pipes & Filters architecture with heavy use of templates and abstract base classes. The cryptographic tools include:

  • Authenticated encryption schemes (GCM, CCM, EAX),
  • High speed stream ciphers (Panama, Sosemanuk, Salsa20, XSalsa20),
  • AES and candidates (Rijndael, RC6, MARS, Twofish, Serpent, CAST-256),
  • Other symmetric block ciphers (IDEA, Triple-DES, Camellia, SEED, RC5, Blowfish, TEA, XTEA, Skipjack, SHACAL-2),
  • Block cipher modes of operation (ECB, CBC, CTS, CFB, OFB, CTR),
  • Message authentication codes (VMAC, HMAC, CMAC, CBC-MAC, DMAC, Two-Track-MAC),
  • Hash functions (SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, Tiger, WHIRLPOOL, RIPEMD-128, RIPEMD-256, RIPEMD-160, RIPEMD-320),
  • Public-key cryptography (RSA, DSA, ElGamal, NR, RW, LUC, LUCELG, DLIES, ESIGN),
  • Padding schemes for public-key systems (PKCS#1, OAEP, PSS, PSSR, EMSA2, EMSA5),
  • Key agreement schemes (DH, MQV, LUCDIF, XTR-DH),
  • Elliptic curve cryptography (ECDSA, ECNR, ECIES, ECDH, ECMQV),
  • Backwards compatibility algorithms (MD2, MD4, MD5, Panama Hash, DES, ARC4, SEAL 3.0, WAKE, WAKE-OFB, DESX, RC2, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square),
  • Pseudo-random number generators, and a whole lot more. Alternative libraries are libgcrypt and nettle.

This package includes a utility for benchmarking and using the various Crypto++ routines from the command line. It also includes the test vectors for validating both the Crypto++ implementation and other implementations of these routines.

There are three methods to install libcrypto++-utils on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libcrypto++-utils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcrypto++-utils using apt-get by running the following command:

sudo apt-get -y install libcrypto++-utils

Install libcrypto++-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcrypto++-utils using apt by running the following command:

sudo apt -y install libcrypto++-utils

Install libcrypto++-utils Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libcrypto++-utils using aptitude by running the following command:

sudo aptitude -y install libcrypto++-utils

How To Uninstall libcrypto++-utils on Kali Linux

To uninstall only the libcrypto++-utils package we can use the following command:

sudo apt-get remove libcrypto++-utils

Uninstall libcrypto++-utils And Its Dependencies

To uninstall libcrypto++-utils and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libcrypto++-utils

Remove libcrypto++-utils Configurations and Data

To remove libcrypto++-utils configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcrypto++-utils

Remove libcrypto++-utils configuration, data, and all of its dependencies

We can use the following command to remove libcrypto++-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcrypto++-utils

Dependencies

libcrypto++-utils have the following dependencies:

References

Summary

In this tutorial we learn how to install libcrypto++-utils package on Kali Linux using different package management tools: apt, apt-get and aptitude.