Giter Site home page Giter Site logo

mkristian / fast-rsa-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lsb/fast-rsa-engine

0.0 2.0 0.0 95 KB

This gem replaces the RSA signature/ciphers from jruby-openssl with faster implementations of them

License: MIT License

Ruby 15.39% Java 84.61%

fast-rsa-engine's Introduction

Fast RSA Engine for jruby-openssl gem

Build Status

This gem replaces the RSA signature and RSA ciphers from jruby-openssl by the much faster implementation of them. See corner.squareup.com/2014/02/faster-rsa-jnagmp.html

but this works only for darwin and linux-x84_64 platforms due to the library used from squareup.

The improvement in performance brings JRuby verify and decrypy using RSA close to MRI.

installation

via rubygems

gem install fast-rsa-engine

or add to your Gemfile

gem 'fast-rsa-engine'

installing the gem also takes care of the jar dependencies with jruby-1.7.16+

usage

with bundler its auto-require magic will be sufficient. otherwise just

require 'fast-rsa-engine'

running the benchmark

ruby benchmark/benchmark-with-fast-rsa.rb

or ruby benchmark/benchmark-with-builtin-rsa.rb

developement

get all the gems and jars in place

gem install jar-dependencies --development
bundle install

for running all specs

rake

meta-fu

enjoy :)

fast-rsa-engine's People

Contributors

lsb avatar mkristian avatar

Watchers

 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.