From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

Linux encoding and hashing

Linux encoding and hashing

- Let's get into a little bit of Linux encoding, and cryptographic hashing. Encoding is the process of converting binary information into text. Normally it's used to take information, and convert it to its ask key equivalent and binary number, and then convert that into an encoding scheme. For example, base 64 or hex. So here's an example. In ASCI, we would have the capital letter M. The capital M is the decimal number 77 in ASCI. And if we convert that to binary, that becomes 01001101. That will then be encoded as base 64 to TQ equals equals. And we always add some padding information to these. So 77 became this in binary, but we add four zeros, and those effectively become the two equals signs. So a note about this, encoding is not encryption, as the converted result is static. It's always the same. So if we were to encode the capital M in base 64, it would always become TQ equals equals, no matter what system you're working on. So, encoding is not encryption, but encryption could…

Contents