SHA-256

var sha = frequire('Digest::SHA')
say sha.sha256_hex('Rosetta code')

Output:

764faf5c61ac315f1497f9dfa542713965b785e5cc2f707d6468d7d1124cdfcf