def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Classes for calculating message digests using the SHA-256/384/512 Secure Hash Algorithm(s) by NIST (the US’ National Institute of Standards and Technology), described in FIPS PUB 180-2.
Hash
See SHA2.
SHA2