This repository has been archived by the owner. It is now read-only.
DISCONTINUED: RbNaCl + libsodium packaged as a gem
Clone or download
Permalink
Failed to load latest commit information.
ext/rbnacl Raise an exception if RbNaCl has already been loaded Apr 9, 2018
lib/rbnacl Raise an exception if RbNaCl has already been loaded Apr 9, 2018
spec Add RuboCop Jan 4, 2018
vendor v1.0.16 Dec 13, 2017
.gitignore Raise an exception if RbNaCl has already been loaded Apr 9, 2018
.gitmodules libsodium bundle May 8, 2014
.rspec Raise an exception if RbNaCl has already been loaded Apr 9, 2018
.rubocop.yml Add RuboCop Jan 4, 2018
.travis.yml
CHANGES.md v1.0.16 Dec 13, 2017
Gemfile Add RuboCop Jan 4, 2018
LICENSE Update LICENSE info Jan 4, 2018
README.md README.md: Add notice that this gem is discontinued Nov 8, 2018
Rakefile Raise an exception if RbNaCl has already been loaded Apr 9, 2018
rbnacl-libsodium.gemspec Add RuboCop Jan 4, 2018

README.md

RbNaCl::Libsodium

Gem Version Build Status MIT licensed Gitter Chat Maintained: no

DISCONTINUED

THIS GEM HAS OFFICIALLY BEEN DISCONTINUED.

Please use your operating system's package manager to install libsodium when using RbNaCl. For more information, see:

https://github.com/crypto-rb/rbnacl/wiki/Installing-libsodium

About

RbNaCl is a Ruby wrapper for libsodium, a portable version of the Networking and Cryptography library (NaCl) created by Daniel J. Bernstein.

tl;dr: it's one of the best crypto libraries around.

rbnacl-libsodium packages the libsodium library as a Ruby Gem so you don't have to worry about installing it through system packages. It builds just like a native extension, but since RbNaCl is implemented with FFI, works on JRuby too!

Help and Discussion

Have questions? Want to suggest a feature or change? Join a discussion group:

Installation

Add this line to your application's Gemfile:

gem 'rbnacl-libsodium'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rbnacl-libsodium

Usage

require 'rbnacl/libsodium'

will tweak search path allowing rbnacl to find bundled libsodium

License

Copyright (c) 2012-2018 Tony Arcieri, Distributed under the MIT License. See LICENSE for further details.