Data Encryption Standard (DES) is a block cipher algorithm that takes plain text in blocks of 64 bits and converts them to ciphertext using keys of 48 bits. It is a symmetric key algorithm, which means that the same key is used for encrypting and decrypting data.
The code has been written to provide readability and easy understanding of the algorithm. Padding scheme used in this implementation is [PKCS5]