mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-11-02 12:27:02 +00:00
cargo fmt
This commit is contained in:
@@ -314,7 +314,8 @@ impl DiversifierKey {
|
|||||||
let ff = FF1::<Aes256>::new(&self.0, 2).unwrap();
|
let ff = FF1::<Aes256>::new(&self.0, 2).unwrap();
|
||||||
loop {
|
loop {
|
||||||
// Generate d_j
|
// Generate d_j
|
||||||
let enc = ff.encrypt(&[], &BinaryNumeralString::from_bytes_le(&j.0[..]))
|
let enc = ff
|
||||||
|
.encrypt(&[], &BinaryNumeralString::from_bytes_le(&j.0[..]))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let mut d_j = [0; 11];
|
let mut d_j = [0; 11];
|
||||||
d_j.copy_from_slice(&enc.to_bytes_le());
|
d_j.copy_from_slice(&enc.to_bytes_le());
|
||||||
|
Reference in New Issue
Block a user