Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bump version to 0.2, minor doc tweaks

  • Loading branch information...
commit a41786d6478a29cf1731a9e73b7af209d910f917 1 parent 5145b69
@mogest authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 README.rdoc
  2. +1 −1  Rakefile
5 README.rdoc
@@ -2,7 +2,7 @@
A library that wraps part of djb's NaCl "networking and cryptography" library.
-Find out more about that project at http://nacl.cace-project.eu/.
+Find out more about that project at http://nacl.cace-project.eu.
== Prerequisites
@@ -20,7 +20,7 @@ You must first install the NaCl C library before installing the gem. If you use
=== Public-key Authenticated Encryption
-Want to provide <b>authenticated encryption</b>? Easy:
+Want to provide authenticated encryption? Easy:
alice_pub, alice_sec = NaCl.crypto_box_keypair
bob_pub, bob_sec = NaCl.crypto_box_keypair
@@ -49,7 +49,6 @@ Just want to sign the text, but not encrypt it? No problem:
# Alice then sends [signed_text, nonce] to Bob and he can validate the signature:
NaCl.crypto_sign_open(signed_text, alice_pub) # => "Meet me at the park at midnight"
-
NaCl.crypto_sign_open(signed_text.gsub("park", "bus stop"), alice_pub) # raises NaCl::OpenError
=== Secret-key Authenticated Encryption
View
2  Rakefile
@@ -9,7 +9,7 @@ end
spec = Gem::Specification.new do |s|
s.name = "nacl"
- s.version = "0.1"
+ s.version = "0.2"
s.summary = "Ruby wrapper around djb's NaCl networking and cryptography library"
s.author = "Roger Nesbitt"
s.email = "roger@seriousorange.com"
Please sign in to comment.
Something went wrong with that request. Please try again.