Skip to content

Travmatth/ft_ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Disclaimer
  9. References

About The Project

des3

A miniature implementation of openssl implementing several encryption and hashing algorithms, namely:

  • md5
  • sha-256
  • base64
  • des-ecb
  • des-cbC
  • des-pcbc
  • des3-ecb
  • des3-cbc
  • des3-pcbc
  • scrypt

Built With

ft_ssl is developed in C using gcc, with no outside dependencies.

Getting Started

Prerequisites

No outside dependencies are required, outside of a C compiler and Make.

Installation

  1. Clone the repo
    git clone https://github.com/travmatth/ft_ssl.git
  2. Compile ft_ssl
    make

Usage

des3

export DES_KEY="C0FFEE69DEADBEEF"
export DES_IV=0011223344556677

echo "We can encode base64" | ./ft_ssl base64
echo "And decode it" | ./ft_ssl base64 | ./ft_ssl base64 -d
echo "We can encrypt with DES3" |  ./ft_ssl des3 -a -k "$DES_KEY" -v "$DES_IV" -o out.txt
# and decrypt it
./ft_ssl des3 -a -k "$DES_KEY" -v "$DES_IV" -i out.txt -d
./ft_ssl des3 -p "we can also generate secure keys using scrypt"

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Travis Matthews

Project Link: https://github.com/travmatth/ft_ssl

Disclaimer

This project was created for educational use ONLY, and is NOT intended for use in secure commincations or production systems.

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published