rbnacl
Ruby FFI binding to the Networking and Cryptography (NaCl) library (a.k.a. libsodium)
File Explorer
Download Latest Version (.zip)- ci.yml
- hash.png
- logo.png
- base.rb
- chacha20poly1305_ietf.rb
- chacha20poly1305_legacy.rb
- xchacha20poly1305_ietf.rb
- private_key.rb
- public_key.rb
- curve25519xsalsa20poly1305.rb
- sealed.rb
- curve25519.rb
- blake2b.rb
- sha256.rb
- sha512.rb
- sha256.rb
- sha512.rb
- sha512256.rb
- poly1305.rb
- argon2.rb
- scrypt.rb
- xsalsa20poly1305.rb
- signing_key.rb
- verify_key.rb
- ed25519.rb
- version.rb
- auth.rb
- hash.rb
- init.rb
- key_comparator.rb
- password_hash.rb
- random.rb
- self_test.rb
- serializable.rb
- simple_box.rb
- sodium.rb
- test_vectors.rb
- util.rb
- version.rb
- rbnacl.rb
- chacha20poly1305_ietf_spec.rb
- chacha20poly1305_legacy_spec.rb
- xchacha20poly1305_ietf_spec.rb
- poly1305_spec.rb
- private_key_spec.rb
- public_key_spec.rb
- curve25519xsalsa20poly1305_spec.rb
- sealed_spec.rb
- blake2b_spec.rb
- sha256_spec.rb
- sha512256_spec.rb
- sha512_spec.rb
- argon2_spec.rb
- scrypt_spec.rb
- signing_key_spec.rb
- verify_key_spec.rb
- group_element_spec.rb
- hash_spec.rb
- random_spec.rb
- secret_box_spec.rb
- simple_box_spec.rb
- sodium_spec.rb
- util_spec.rb
- aead.rb
- authenticator.rb
- box.rb
- hmac.rb
- key_equality.rb
- sealed_box.rb
- serializable.rb
- spec_helper.rb
- rspec.rake
- rubocop.rake
- .coveralls.yml
- .gitignore
- .rspec
- .rubocop.yml
- .yardopts
- CHANGES.md
- Gemfile
- Guardfile
- LICENSE.txt
- Rakefile
- rbnacl.gemspec
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/RubyCrypto/rbnacl
Downloads the entire project code from GitHub to your computer.
cd rbnacl
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Homebrew A package manager for macOS/Linux.
brew install libsodium
Installs the pre-built package via Homebrew β no source build required.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Ruby
EasyPrerequisites
$ bundle
Type this command into your terminal and run it.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
