$var = "Rosetta code"; echo sha2($var, 256);