Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
punwai committed Aug 26, 2022
1 parent f4cab79 commit 71d60d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ pub mod serde_helpers;
// Beware: if you change those aliases to point to another scheme implementation, you will have
// to change all four aliases to point to concrete types that work with each other. Failure to do
// so will result in a ton of compilation errors, and worse: it will not make sense!
pub type PublicKey = ed25519::Ed25519PublicKey;
pub type Signature = ed25519::Ed25519Signature;
pub type PrivateKey = ed25519::Ed25519PrivateKey;
pub type KeyPair = ed25519::Ed25519KeyPair;
pub type PublicKey = bls12381::BLS12381PublicKey;
pub type Signature = bls12381::BLS12381Signature;
pub type PrivateKey = bls12381::BLS12381PrivateKey;
pub type KeyPair = bls12381::BLS12381KeyPair;
////////////////////////////////////////////////////////////////////////

pub const DIGEST_LEN: usize = 32;
Expand Down

0 comments on commit 71d60d9

Please sign in to comment.