Skip to content

Instantly share code, notes, and snippets.

@neudabei
Last active February 17, 2018 10:45
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 neudabei/d475fc8a2e6e05c4b57f9ba7812f096f to your computer and use it in GitHub Desktop.
Save neudabei/d475fc8a2e6e05c4b57f9ba7812f096f to your computer and use it in GitHub Desktop.
Understanding proof-of-work using Ruby 2 - https://blog.robertsj.com/proof-of-work
require 'digest'
puts Digest::SHA256.hexdigest("hello world!" + "2030350")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment