How To Install libhighwayhash-dev on Kali Linux

In this tutorial we learn how to install libhighwayhash-dev on Kali Linux. libhighwayhash-dev is Fast strong hash functions

Introduction

In this tutorial we learn how to install libhighwayhash-dev on Kali Linux.

What is libhighwayhash-dev

libhighwayhash-dev is:

Highwayhash provides three ‘strong’ (well-distributed and unpredictable) hash functions: a faster version of SipHash, a data-parallel variant of SipHash using tree hashing, and an even faster algorithm called HighwayHash.

SipHash is a fast but ‘cryptographically strong’ pseudo-random function by Aumasson and Bernstein [https://www.131002.net/siphash/siphash.pdf].

SipTreeHash slices inputs into 8-byte packets and computes their SipHash in parallel, which is faster when processing at least 96 bytes.

HighwayHash is a new way of mixing inputs which may inspire new cryptographically strong hashes. Large inputs are processed at a rate of 0.3 cycles per byte, and latency remains low even for small inputs. HighwayHash is faster than SipHash for all input sizes, with about 3.8 times higher throughput at 1 KiB.

This package ships the static library and development files.

There are three methods to install libhighwayhash-dev 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 libhighwayhash-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libhighwayhash-dev using apt-get by running the following command:

sudo apt-get -y install libhighwayhash-dev

Install libhighwayhash-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libhighwayhash-dev using apt by running the following command:

sudo apt -y install libhighwayhash-dev

Install libhighwayhash-dev 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 libhighwayhash-dev using aptitude by running the following command:

sudo aptitude -y install libhighwayhash-dev

How To Uninstall libhighwayhash-dev on Kali Linux

To uninstall only the libhighwayhash-dev package we can use the following command:

sudo apt-get remove libhighwayhash-dev

Uninstall libhighwayhash-dev And Its Dependencies

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

sudo apt-get -y autoremove libhighwayhash-dev

Remove libhighwayhash-dev Configurations and Data

To remove libhighwayhash-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libhighwayhash-dev

Remove libhighwayhash-dev configuration, data, and all of its dependencies

We can use the following command to remove libhighwayhash-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libhighwayhash-dev

Dependencies

libhighwayhash-dev have the following dependencies:

References

Summary

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