Skip to content

jterrazz/42-ssl-md5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey there – I’m Jean-Baptiste, just another developer doing weird things with code. All my projects live on jterrazz.com – complete with backstories and lessons learned. Feel free to poke around – you might just find something useful!

42 Ft SSL (md5 & sha256)

Custom C implementation of the OpenSSL Library, with the md5 and sha256 functions. Since both functions are relatively similar, most of the internal functions are created for a general usage.

Creates an executable ft_ssl.

How does it work ?

Access the repository story here

Commands

Build

make
make clean # Clean temporary built files
make fclean # Clean all built files

Usage

usage: ft_ssl command [command opts]

# command: md5, sha1, sha224, sha256, sha512, sha384
# command opts:
	# -p: echo STDIN to STDOUT and append the checksum to STDOUT
	# -q: quiet mode
	# -r: reverse the format of the output.
	# -s <string>: print the sum of the given string

Testing

sh test/test.sh

About

Mini-OpenSSL: MD5 + SHA family hashing in C.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors