Project

block64

0.0
No commit activity in last 3 years
No release in over 3 years
Encrypts and decrypts data of arbitrary length using RSA cyphers. Fixed and much faster fork of "crypto64" gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.0.0
~> 1.5.2
 Project Readme

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.