1
2
3
4
5
6
7
8
9
10
11
12
use crate::no_std::*;

//#[cfg_attr(test, macro_use)]
pub mod crypto;

pub fn to_hex_string(bytes: &[u8]) -> String {
    bytes
        .iter()
        .map(|b| format!("{:02X}", b))
        .collect::<Vec<String>>()
        .join("")
}