update README to reflect new sign/verify method names
parent
0f68a21481
commit
59a58d9c9a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue