Skip to content

Instantly share code, notes, and snippets.

@beamzer
Created June 19, 2021 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beamzer/54fcb61f87b85c0654aa2ce2d465ac2d to your computer and use it in GitHub Desktop.
Save beamzer/54fcb61f87b85c0654aa2ce2d465ac2d to your computer and use it in GitHub Desktop.
#!/opt/local/bin/perl -w
use strict;
use Digest::file qw(digest_file_hex);
for (@ARGV) {
print digest_file_hex($_, "SHA-256");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment