Skip to content

Instantly share code, notes, and snippets.

@VxJasonxV
Created November 17, 2011 02:35
Show Gist options
  • Save VxJasonxV/1372202 to your computer and use it in GitHub Desktop.
Save VxJasonxV/1372202 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
my @tmp = unpack("C*", $ARGV[0]);
for $i (@tmp)
{
printf "%0004x", $i;
}
print "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment