converts a value (implementing AsRef<u8>; this includes String, str, Vec and u8) to hex.
use phollaits::{ToHex};
fn main() {
let value = "myValue!";
assert_eq!(value.hexify(), "6d7956616c756521".to_string())
}
converts a value (implementing AsRef<u8>; this includes String, str, Vec and u8) to hex (UPPER_CASE).
use phollaits::{ToHex};
fn main() {
let value = "myValue!";
assert_eq!(value.hexify_upper(), "6D7956616C756521".to_string())
}