Browse Source

blh is public now

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

+ 1
- 1
src/lib.rs

@ -241,7 +241,7 @@ pub fn decompress_point(bb: [u8; 32]) -> Result {
// hash.to_vec() // hash.to_vec()
// } // }
fn blh(b: &[u8]) -> Vec<u8> {
pub fn blh(b: &[u8]) -> Vec<u8> {
println!("TODO: add test that this new blake512 function is giving correct output. Not doing so could have unlikely yet critical implications"); println!("TODO: add test that this new blake512 function is giving correct output. Not doing so could have unlikely yet critical implications");
let mut h = Blake2b512::new(); let mut h = Blake2b512::new();
h.update(b); h.update(b);

Loading…
Cancel
Save