Skip to content

๐Ÿ”’ OpenSSL implementation in C. Supports md5, sha1, sha256, sha224, sha512 and sha384 algorithms. A medium article is available in description.

Notifications You must be signed in to change notification settings

jterrazz/42-ssl-md5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

78 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 ?

Please refer to the medium article of this projet 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

๐Ÿ”’ OpenSSL implementation in C. Supports md5, sha1, sha256, sha224, sha512 and sha384 algorithms. A medium article is available in description.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published