GithubHelp home page GithubHelp logo

anbreen / encryption-using-openssl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5 KB

Implementation of cryptographic functions using the EVP library provided by OpenSSL.

Home Page: https://www.openssl.org/docs/man1.0.2/crypto/evp.html

C 100.00%

encryption-using-openssl's Introduction

Cryptography using EVP

This is an implementation of cryptographic functions using the EVP library provided by OpenSSL.

Details of EVP are available on the following link https://www.openssl.org/docs/man1.0.2/crypto/evp.html

##AES Encryption : Implementation for using AES to perform encryption as well as decryption of clear text is is available in aes-implementation.c. This example performs AES encryption with a 128-bit key in CBC mode.

$ gcc -o aes aes-implementation.c
$./aes

##DES Encryption : Implementation for using DES to perform encryption as well as decryption of clear text is is available in des-implementation.c. This example performs DES encryption in CBC mode.

$ gcc -o des des-implementation.c
$./des

##Encryption over network Implementation for sending encrypted data over network (along with decryption on the other side) is present in the folder "encryption-on-network". It contains a client.c file and a server.c file. The client and server are communicating over TCP socket.

##Steps

  • Clear text is provided to the client.
  • Client decrypts the clear text.
  • Clients sends the encrypted text to the server.
  • Server receives the encrypted text.
  • Server decrypts the text and displays is on screen.

##Start Server

$ gcc -o server server.c
$./server

##Start client

$ gcc -o client client.c
$ ./client <ip address for the serer> <port number>
$./client 127.0.0.1 7788

encryption-using-openssl's People

Contributors

anbreen avatar

Watchers

James Cloos avatar  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.