update README to reflect new sign/verify method names
This commit is contained in:
parent
0f68a21481
commit
59a58d9c9a
@ -48,10 +48,10 @@ message = "Hello World!"
|
||||
signing_pair = Cox::SignKeyPair.new
|
||||
|
||||
# Sign the message
|
||||
signature = Cox.sign(message, signing_pair.secret)
|
||||
signature = Cox.sign_detached(message, signing_pair.secret)
|
||||
|
||||
# And verify
|
||||
Cox.verify(signature, message, signing_pair.public) # => true
|
||||
Cox.verify_detached(signature, message, signing_pair.public) # => true
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
Loading…
Reference in New Issue
Block a user