Browse Source

made poseidon public

pull/8/head
Nanak Nihal Singh Khalsa 1 year ago
parent
commit
1df44527df
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lib.rs

+ 2
- 1
src/lib.rs

@ -57,7 +57,7 @@ lazy_static! {
) )
.unwrap() .unwrap()
>> 3; >> 3;
static ref POSEIDON: poseidon_rs::Poseidon = Poseidon::new();
pub static ref POSEIDON: poseidon_rs::Poseidon = Poseidon::new();
} }
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
@ -248,6 +248,7 @@ fn blh(b: &[u8]) -> Vec {
let digest = h.finalize(); let digest = h.finalize();
return digest[..].to_vec(); return digest[..].to_vec();
} }
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Signature { pub struct Signature {
pub r_b8: Point, pub r_b8: Point,

Loading…
Cancel
Save