Giter Club home page Giter Club logo

ft_ssl_md5's Introduction

ft_ssl_md5

Introduction

ft_ssl_md5 is a C project inspired by the functionality of the OpenSSL library, specifically focused on recreating the hashing commands for MD5, SHA256, and Whirlpool. This project is part of the School 42 curriculum and includes additional enhancements (bonuses) beyond the base specifications.

Table of Contents

Installation

To install ft_ssl_md5, clone this repository and use the Makefile to compile the project:

git clone https://github.com/Apyre83/ft_ssl_md5.git
cd ft_ssl_md5
make

This will create an executable named ft_ssl that can perform MD5, SHA256, and Whirlpool hashing.

Features

ft_ssl_md5 supports the following cryptographic hash functions:

  • MD5: A widely used hash function producing a 32-character hexadecimal number.
  • SHA256: Part of the SHA-2 family, produces a 256-bit hash, typically rendered as a 64-character hexadecimal number.
  • Whirlpool: A hash designed by Vincent Rijmen and Paulo S. L. M. Barreto, which produces a 512-bit (64-byte) hash.

Bonuses

  • Support for processing multiple files and strings in a single command.
  • A verbose mode that details the steps of the hashing process.

Usage

Here is how to use the ft_ssl command to generate hashes:

# Generate an MD5 hash
./ft_ssl md5 filename.txt

# Generate a SHA256 hash
./ft_ssl sha256 filename.txt

# Generate a Whirlpool hash
./ft_ssl whirlpool filename.txt

# Hash from standard input
echo -n "Hello, world!" | ./ft_ssl md5

Contributing

Contributions are welcome. If you have improvements or bug fixes, please fork the repository and submit a pull request. For substantial changes, please open an issue first to discuss what you would like to change.

License

ft_ssl_md5 is available under the MIT License. See the LICENSE file for more info.

ft_ssl_md5's People

Contributors

apyre83 avatar

Stargazers

rdedola avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.