anychain_core/utilities/
mod.rs

1use crate::no_std::*;
2
3//#[cfg_attr(test, macro_use)]
4pub mod crypto;
5
6pub fn to_hex_string(bytes: &[u8]) -> String {
7    bytes
8        .iter()
9        .map(|b| format!("{b:02X}"))
10        .collect::<Vec<String>>()
11        .join("")
12}