use aoko::no_std::functions::ext::{Utf8Ext, AnyExt1};
use num::BigUint;
pub mod cli;
pub fn str_to_hex(s: &str) {
println!("0x{:0<64x}", s.as_bytes().let_owned(BigUint::from_bytes_be))
}
pub fn hex_to_str(h: &str) {
println!("{}", h.trim_start_matches("0x").let_ref(hex::decode).unwrap().to_str().unwrap())
}