add SHA256 and SHA512 to the encode/decode tool