Function hash_generic

Source
pub fn hash_generic(
    iv: BigInt,
    arr: Vec<BigInt>,
    r: BigInt,
    n_rounds: i64,
) -> BigInt