Compute the SHA256 hex digest of any string with Digest::SHA256.
Language: Ruby
Parse a JSON string into a Hash and convert back with the json stdlib.
Stdlib HTTP GET request using Net::HTTP and URI.
Slurp an entire file into a string with File.read, the idiomatic Ruby way.