diff options
Diffstat (limited to 'generate-digest.rb')
-rw-r--r-- | generate-digest.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generate-digest.rb b/generate-digest.rb new file mode 100644 index 0000000..616ac81 --- /dev/null +++ b/generate-digest.rb @@ -0,0 +1,3 @@ +require "openssl" + +puts OpenSSL::Digest::SHA256.base64digest(ARGV.first.chomp) |