Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

block64

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block64

  • 0.1.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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)

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b 20101220-my-change).
  3. Commit your changes (git commit -am "Added something").
  4. Push to the branch (git push origin 20101220-my-change).
  5. Create an Issue with a link to your branch.
  6. Enjoy a refreshing Diet Coke and wait.

Copyright © 2007 Bart Teeuwisse and © 2010 - 2011 Martin Kozák. See LICENSE.txt for further details.

FAQs

Package last updated on 18 Jan 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc