mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
fix doc code
This commit is contained in:
parent
95ca81e0e6
commit
0ea12f922e
1 changed files with 2 additions and 2 deletions
|
|
@ -1221,7 +1221,7 @@ impl Keypair {
|
|||
/// # let prehashed: Sha512 = Sha512::default();
|
||||
/// # prehashed.input(message);
|
||||
/// #
|
||||
/// let context: &[u8] = "Ed25519DalekSignPrehashedDoctest";
|
||||
/// let context: &[u8] = b"Ed25519DalekSignPrehashedDoctest";
|
||||
///
|
||||
/// let sig: Signature = keypair.sign_prehashed(prehashed, Some(context));
|
||||
/// # }
|
||||
|
|
@ -1285,7 +1285,7 @@ impl Keypair {
|
|||
/// let prehashed: Sha512 = Sha512::default();
|
||||
/// prehashed.input(message);
|
||||
///
|
||||
/// let context: &[u8] = "Ed25519DalekSignPrehashedDoctest";
|
||||
/// let context: &[u8] = b"Ed25519DalekSignPrehashedDoctest";
|
||||
///
|
||||
/// let sig: Signature = keypair.sign_prehashed(prehashed, Some(context));
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue