Fix indentation, no functional changes
This commit is contained in:
@@ -43,16 +43,13 @@ pub extern fn blake3_PW(pw: *const c_char) -> *mut c_char{
|
|||||||
};
|
};
|
||||||
|
|
||||||
let data = passwd.as_bytes();
|
let data = passwd.as_bytes();
|
||||||
// Hash an input all at once.
|
// Hash an input all at once.
|
||||||
let hash1 = blake3::hash(data).to_hex();
|
let hash1 = blake3::hash(data).to_hex();
|
||||||
println!("\nBlake3 Hash: {}", hash1);
|
println!("\nBlake3 Hash: {}", hash1);
|
||||||
|
|
||||||
//let sttring = CString::new(hash1).unwrap();
|
|
||||||
let e_str = CString::new(format!("{}", hash1)).unwrap();
|
|
||||||
return e_str.into_raw();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//let sttring = CString::new(hash1).unwrap();
|
||||||
|
let e_str = CString::new(format!("{}", hash1)).unwrap();
|
||||||
|
return e_str.into_raw();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new wallet and return the seed for the newly created wallet.
|
/// Create a new wallet and return the seed for the newly created wallet.
|
||||||
|
|||||||
Reference in New Issue
Block a user