mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
commit
da8e609dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -1241,7 +1241,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));
|
||||
/// # }
|
||||
|
|
@ -1305,7 +1305,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