pkstrings: convert: change output format
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
6e32a71c0e
commit
891f05c271
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ fn main() {
|
|||
if args.len() == 2 {
|
||||
// Convert String to PKString and then to Vec<u8>
|
||||
let tmp: Vec<u8> = PKString::try_from(args[1].as_str()).unwrap().into();
|
||||
println!("{:#02x?}", tmp);
|
||||
println!("{:02x?}", tmp);
|
||||
} else if args.len() == 3 && args[1] == String::from("rev") {
|
||||
// Consure chars 2 by 2 and convert to u8.
|
||||
let mut vec: Vec<u8> = vec![];
|
||||
|
|
Loading…
Reference in a new issue