Namespace: go.std.crypto.sha256
v1.0Contents
Summary
Provides a low-level interface to the crypto/sha256 package.
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined
in FIPS 180-4.
Index
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
BlockSize
Int v1.0The blocksize of SHA256 and SHA224 in bytes.
-
Size
Int v1.0The size of a SHA256 checksum in bytes.
-
Size224
Int v1.0The size of a SHA224 checksum in bytes.
Variables
-
(None.)
Functions, Macros, and Special Forms
-
New
Function v1.0(New)
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.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
New224
Function v1.0(New224)
New224 returns a new hash.Hash computing the SHA224 checksum.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
Sum224
Function v1.0(Sum224 data)
Sum224 returns the SHA224 checksum of the data.
Go input arguments: (data []byte)
Go returns: [28]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array28OfByte -
Sum256
Function v1.0(Sum256 data)
Sum256 returns the SHA256 checksum of the data.
Go input arguments: (data []byte)
Go returns: [32]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array32OfByte
Types
-
(None.)