We all know or just heard of CHACHA20. CHACHA20 is a variant of Salsa20, as a stream cipher.

Install dependencies

yum install m2crypto gcc -y

Download & Install libsodium, as a library

wget -N --no-check-certificate https://download.libsodium.org/libsodium/releases/LATEST.tar.gz 
tar zvxf LATEST.tar.gz 
cd libsodium-* 
make && make install

Add the file path to environment variable

echo "/usr/local/lib" >> /etc/ld.so.conf


Thanks to D0zingcat’s work.

1 thought on “Master DevOps: Enable ChaCha20 cipher on CentOS 7

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.