Giter Club home page Giter Club logo

openssl_sign_verify_encrypt_decrypt's Introduction

openssl_sign_verify_encrypt_decrypt

This is a program that implements authentication and key management. It includes RSA algorithm(C++/Python), a hybrid algorithm that combines ECDSA and AES(C++) and a hybrid algorithm that combines DES and DSA(Python).

c++_openssl includes two algorithms(RSA and ECDSA_AES) to authenticate, encrypt and decrypt string information, and calculate runtime.

c++_openssl_json includes two algorithms(RSA and ECDSA_AES) to authenticate, encrypt and decrypt json information, and calculate runtime.

python_rsa_dsa_des includes two algorithms(RSA and DSA_DES) to authenticate, encrypt and decrypt json information, and calculate runtime.

running environment:Linux

language:C++,Python

Running C++ program

install C++ dependencies

sudo apt-get install make

sudo apt-get install g++

sudo apt-get install gdb

sudo apt-get install git

sudo apt-get install wget

Install the openssl dependency package

sudo wget --no-check-certificate https://www.openssl.org/source/openssl-1.1.1w.tar.gz

tar -xvf openssl-1.1.1w.tar.gz

cd openssl-1.1.1w

./config

make -j32

sudo make install

xftp or other file transfer tools transfer files to Linux systems

sudo apt install net-tools

sudo apt-get install openssh-server

Install json dependency packages

sudo apt install -y libjsoncpp-dev

sudo ln -s /usr/include/jsoncpp/json/ /usr/local/include/json

Debug code

cd openssl_rsa

make

./rsa

cd openssl_ecdsa_aes

make

./new

Running Python program

python rsa.py

python dsa+des.py

openssl_sign_verify_encrypt_decrypt's People

Contributors

shelly1229 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.