update README to reflect new sign/verify method names

This commit is contained in:
Dave 2018-02-13 20:23:34 -08:00
parent 0f68a21481
commit 59a58d9c9a

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