Add public Scalar type alias for Fr
This commit is contained in:
parent
8e9337ee1b
commit
109ec40d2a
|
@ -42,6 +42,9 @@ mod fr;
|
|||
pub use bls12_381::Scalar as Fq;
|
||||
pub use fr::Fr;
|
||||
|
||||
/// A better name than Fr.
|
||||
pub type Scalar = Fr;
|
||||
|
||||
const FR_MODULUS_BYTES: [u8; 32] = [
|
||||
183, 44, 247, 214, 94, 14, 151, 208, 130, 16, 200, 204, 147, 32, 104, 166, 0, 59, 52, 1, 1, 59,
|
||||
103, 6, 169, 175, 51, 101, 234, 180, 125, 14,
|
||||
|
|
Loading…
Reference in New Issue