95aaa82003-12-03Martin Nilsson #pike __REAL_VERSION__
59bfa12005-01-23Martin Nilsson #pragma strict_types
e1fb092014-02-14Martin Nilsson #require constant(Nettle.SHA256)
95aaa82003-12-03Martin Nilsson 
af10832003-12-03Martin Nilsson //! SHA256 is another hash function specified by NIST, intended as a
9659492007-04-29Martin Nilsson //! replacement for @[SHA1], generating larger digests. It outputs hash
af10832003-12-03Martin Nilsson //! values of 256 bits, or 32 octets.
86a7272013-10-05Henrik Grubbström (Grubba) inherit Nettle.SHA256;
a164de2003-12-03Martin Nilsson 
4146ae2014-06-27Martin Nilsson Standards.ASN1.Types.Identifier pkcs_hash_id()
c0f3f52013-11-21Martin Nilsson { return Standards.PKCS.Identifiers.sha256_id; }
0c5eaa2016-04-14Henrik Grubbström (Grubba) 
5b127d2016-04-27Martin Nilsson protected constant hmac_jwa_id = "HS256";