A Cryptography Project at Codam (42) - Hashing algorithms MD5 SHA1 SHA2
An introduction to cryptographic hashing algorithms. Recode part of the OpenSSL program, specifically the MD5 and SHA-256 hashing algorithms. Complete Subject
This project is tested and runs on MacOS.
Use Evaluation sheet or Test
Functions allowed for use:
open(3)
close(3)
malloc(3)
free(3)
read(2)
write(2)
Project must be written according to the 42 coding standards, the Norme
.
Rewrite the following functions:
MD5
SHA256
-p
echo STDIN to STDOUT and append the checksum to STDOUT-q
output only checksum-r
reverse the format of the output-s "some string"
print the sum of the given string
Extra functions:
SHA1
SHA224
SHA384
SHA512
- clone repository, go to the cloned directory and run command in terminal:
sh 00_test.sh
or
./ft_ssl command [ command_opts ] [ command_args ]