update README to reflect new sign/verify method names

master
Dave 2018-02-13 20:23:34 -08:00
parent 0f68a21481
commit 59a58d9c9a
1 changed files with 2 additions and 2 deletions

View File

@ -48,10 +48,10 @@ message = "Hello World!"
signing_pair = Cox::SignKeyPair.new signing_pair = Cox::SignKeyPair.new
# Sign the message # Sign the message
signature = Cox.sign(message, signing_pair.secret) signature = Cox.sign_detached(message, signing_pair.secret)
# And verify # And verify
Cox.verify(signature, message, signing_pair.public) # => true Cox.verify_detached(signature, message, signing_pair.public) # => true
``` ```
## Contributing ## Contributing