README.rdoc in salty-0.0.4 vs README.rdoc in salty-0.0.5
- old
+ new
@@ -17,20 +17,20 @@
== Usage
require 'salty' # you may need to do './salty' if you used wget
- password = salty("mypassword") # iterative salted SHA1 hash
+ password = salty('mypassword') # iterative salted SHA1 hash
- if salty_eq("mypassword",password)
+ if salty_eq('mypassword',password)
puts "You're logged in!"
else
puts "Wrong password"
end
-A salt is generated and embeded in the output from (({salty("mypassword")})). (({salty_eq})) will then extract this salt. So there is no need to handle the salt yourself.
+A salt is generated and embeded in the output from <code>salty('mypassword')</code>. +salty_eq+ will then extract this salt, so there is no need to handle the salt yourself.
-Obviously, the order of arguments to (({salty_eq})) is important. The plain-text data must come first, followed by the previously-hashed data.
+Obviously, the order of arguments to +salty_eq+ is important. The plain-text data must come first, followed by the previously-hashed data.
== Contributing to salty
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.