/42-ft_ssl_md5

Encryption program with md5 and SHA family algorithm support

Primary LanguageC

ft_ssl_md5 (42 School Project)

ft_ssl_md5 is the first project in cryptographic branch of 42 School projects.

The goal is to create a program (written in C) that will combine functionality of md5, openssl and shasum Unix programs.

Algorithms

The program handles encryption with several algorithms:

  • md5
  • SHA224
  • SHA256
  • SHA384
  • SHA512
  • SHA512224
  • SHA512256

How to run

The program reads both files and standard input like md5. It also provides multifunctional input like openssl (launch without any arguments). It has the same command options (except -x) and syntax as md5.

SHA256

ft_ssl handles errors in the same way as system programs. It also supports multiple targets for every function (including binary files, strings and standard input).

SHA256

Enjoy!