Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Capybara committed Oct 17, 2023
1 parent 57f95dc commit d6bd79b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ let pw = get_random_bytes(64);
let key_pair = KeyPair::new(&pw, "test key".to_string(), E448, 512);
// Sign with 512 bits of security
msg.sign(&key_pair, 512);
// verify signature
msg.verify(&key_pair.pub_key, 512);
// assert correctness
assert!(msg.op_result.unwrap());
```

## Benches
Expand Down

0 comments on commit d6bd79b

Please sign in to comment.