Recently, I came across some data that was encrypted at rest and wondered if I’d be able to determine which algorithm was used to encrypt the data. #Cryptographic functions like #bcrypt or #base64 have digest outputs that can be easy to identify. Even MD5 hash digests, because of their popularity, can be detected easily too. Thinking about the challenge that I was presented with and a hard to find location that lists the cryptographic function and the corresponding output, I decided to start some base code to generate this content using #python, #hashlib and #tabulate.
The hashes_output.py script is located on GitHub page. It can be used to keep a corresponding list of digest output for quick reference. The script is a script, it’s not a program.
#crypto #cryptography #digest #md5 #sha #algorithm #oneway #asymmetric