-
-
Save icostan/2d9302e5f6493639d0cfe0794fda93d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby> checksum = Digest::SHA256.hexdigest(Digest::SHA256.digest([with_version].pack('H*')))[0, 8] | |
=> "c7f18fe8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment