GithubHelp home page GithubHelp logo

isabella232 / sign_roundtrip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elsamuko/sign_roundtrip

0.0 0.0 0.0 9 KB

Sign and verify data with C/C++, Groovy/Java and Bash

C++ 64.96% Groovy 26.04% Shell 9.00%

sign_roundtrip's Introduction

sign_roundtrip

Sign and verify data with C/C++, Groovy/Java and Bash

These are three sample programs, which sign and verify a random text with a RSA PEM key pair with the help of the OpenSSL library. The signature of all three programs are identical. This can be useful, if you need verified interlanguage communication or for testing purposes (e.g. with curl).

Just start the script with ./run_all.sh from the main directory, the output should be:

C++: 
SHA256    : I6y8EgCFG2H6PTHVZyHR10nnN1FZnvvxv8Izrut+Jgs=
OK        : true
Signature : kCbtJcwGaB8f4LkFrw1yPlcKLjkQdhBErJisgkpNuLv55sQ1O0bEaV0klrQr9us7BXZOSdIOXS/D20iFhr9Sge9+9weRRNpo+hdoDnC5VagqmuWlenhwG9mMj6//aV8HEeeoIEYljSMQTug4MErSr44+uyyx34B51XlFpbkBtG4lk0oO69ZfYe1EWHqYIeOfySOV14Gek/h4JdR0+CEgWpaqUL1Iz4iztucWid0aas/6GbzswY6zE2+7SIC3jpv4JFU9ehacMcNw7jkWdCVYeUm/2aJuwIbe4cuMmnpIFGAbFhdZ6SkLM5xwmkdgjzvu/a+bbj/Y2kBxmv62t9bhYQ==

Groovy: 
SHA256    : I6y8EgCFG2H6PTHVZyHR10nnN1FZnvvxv8Izrut+Jgs=
OK        : true
Signature : kCbtJcwGaB8f4LkFrw1yPlcKLjkQdhBErJisgkpNuLv55sQ1O0bEaV0klrQr9us7BXZOSdIOXS/D20iFhr9Sge9+9weRRNpo+hdoDnC5VagqmuWlenhwG9mMj6//aV8HEeeoIEYljSMQTug4MErSr44+uyyx34B51XlFpbkBtG4lk0oO69ZfYe1EWHqYIeOfySOV14Gek/h4JdR0+CEgWpaqUL1Iz4iztucWid0aas/6GbzswY6zE2+7SIC3jpv4JFU9ehacMcNw7jkWdCVYeUm/2aJuwIbe4cuMmnpIFGAbFhdZ6SkLM5xwmkdgjzvu/a+bbj/Y2kBxmv62t9bhYQ==

Bash: 
SHA256    : I6y8EgCFG2H6PTHVZyHR10nnN1FZnvvxv8Izrut+Jgs=
OK        : true
Signature : kCbtJcwGaB8f4LkFrw1yPlcKLjkQdhBErJisgkpNuLv55sQ1O0bEaV0klrQr9us7BXZOSdIOXS/D20iFhr9Sge9+9weRRNpo+hdoDnC5VagqmuWlenhwG9mMj6//aV8HEeeoIEYljSMQTug4MErSr44+uyyx34B51XlFpbkBtG4lk0oO69ZfYe1EWHqYIeOfySOV14Gek/h4JdR0+CEgWpaqUL1Iz4iztucWid0aas/6GbzswY6zE2+7SIC3jpv4JFU9ehacMcNw7jkWdCVYeUm/2aJuwIbe4cuMmnpIFGAbFhdZ6SkLM5xwmkdgjzvu/a+bbj/Y2kBxmv62t9bhYQ==

sign_roundtrip's People

Contributors

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