Skip to content

martinpoljak/block64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

block64

Block64 is a replacement for original crypto64 gem. It can encrypt and decrypt data of arbitrary length by RSA public/private key. It's fixed for use with latest Ruby and much faster than original.

Usage

API is trivial and usage is simple:

require "block64"

key = OpenSSL::PKey::RSA::new(<pem-encoded-key>)
encoded = key.encrypt64(<some-very-long-message>)
decoded = key.decrypt64(encoded)

Copyright

Copyright © 2007 Bart Teeuwisse and © 2010 – 2015 Martin Poljak. See LICENSE.txt for further details.

About

Encrypts and decrypts data of arbitrary length using RSA cyphers. Fixed and much faster fork of "crypto64" Ruby gem.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages