Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Oct 9, 2024
1 parent 2b45e56 commit 8750d18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cryptos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ use ethers::types::Bytes;
use halo2curves::ff::Field;
use poseidon_rs::{poseidon_bytes, poseidon_fields, Fr, PoseidonError};
use rand_core::RngCore;
use serde::{
de::{self, Visitor},
Deserialize, Deserializer,
};
use std::{
collections::hash_map::DefaultHasher,
error::Error,
fmt,
hash::{Hash, Hasher},
};
use serde::{
de::{self, Visitor},
Deserialize, Deserializer,
};
use zk_regex_apis::padding::pad_string;

use crate::{
converters::{
bytes_chunk_fields, bytes_to_fields, int64_to_bytes, int8_to_bytes, merge_u8_arrays,
},
hex_to_field, MAX_EMAIL_ADDR_BYTES,
MAX_EMAIL_ADDR_BYTES,
};

type ShaResult = Vec<u8>; // The result of a SHA-256 hash operation.
Expand Down

0 comments on commit 8750d18

Please sign in to comment.