pub fn fiat_shamir_heuristic(
g_b: String,
g_r_b: String,
u_b: String,
b: String,
) -> String
Expand description
Applies the Fiat-Shamir heuristic using the BLAKE2b-224 hash function.
This function takes four inputs as hex strings, concatenates them, and hashes the resulting string using the BLAKE2b-224 hash function.
§Arguments
g_b
- A string representing the generator in its hex-encoded form.g_r_b
- A string representing the randomized generator value in hex form.u_b
- A string representing the public value in hex form.b
- A string representing an additional value or input in hex form.
§Returns
String
- A hex-encoded BLAKE2b-224 hash of the concatenated input strings.