Examples using... sha256.New()

Recent
New returns a new hash.Hash computing the SHA256 checksum. The Hash also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
New returns a new hash.Hash computing the SHA256 checksum. The Hash also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
EncryptOAEP encrypts the given message with RSA-OAEP.
DecryptOAEP decrypts ciphertext using RSA-OAEP.