Namespace: go.std.crypto.sha512
v1.0Contents
Summary
Provides a low-level interface to the crypto/sha512 package.
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256
hash algorithms as defined in FIPS 180-4.
All the hash.Hash implementations returned by this package also
implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to
marshal and unmarshal the internal state of the hash.
Index
- BlockSize
- New
- New384
- New512_224
- New512_256
- Size
- Size224
- Size256
- Size384
- Sum384
- Sum512
- Sum512_224
- Sum512_256
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.0BlockSize is the block size, in bytes, of the SHA-512/224,
SHA-512/256, SHA-384 and SHA-512 hash functions.
-
Size
Int v1.0Size is the size, in bytes, of a SHA-512 checksum.
-
Size224
Int v1.0Size224 is the size, in bytes, of a SHA-512/224 checksum.
-
Size256
Int v1.0Size256 is the size, in bytes, of a SHA-512/256 checksum.
-
Size384
Int v1.0Size384 is the size, in bytes, of a SHA-384 checksum.
Variables
-
(None.)
Functions, Macros, and Special Forms
-
New
Function v1.0(New)
New returns a new hash.Hash computing the SHA-512 checksum.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
New384
Function v1.0(New384)
New384 returns a new hash.Hash computing the SHA-384 checksum.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
New512_224
Function v1.0(New512_224)
New512_224 returns a new hash.Hash computing the SHA-512/224 checksum.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
New512_256
Function v1.0(New512_256)
New512_256 returns a new hash.Hash computing the SHA-512/256 checksum.
Go returns: hash.Hash
Joker input arguments: []
Joker returns: ^go.std.hash/Hash -
Sum384
Function v1.0(Sum384 data)
Sum384 returns the SHA384 checksum of the data.
Go input arguments: (data []byte)
Go returns: [48]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array48OfByte -
Sum512
Function v1.0(Sum512 data)
Sum512 returns the SHA512 checksum of the data.
Go input arguments: (data []byte)
Go returns: [64]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array64OfByte -
Sum512_224
Function v1.0(Sum512_224 data)
Sum512_224 returns the Sum512/224 checksum of the data.
Go input arguments: (data []byte)
Go returns: [28]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array28OfByte -
Sum512_256
Function v1.0(Sum512_256 data)
Sum512_256 returns the Sum512/256 checksum of the data.
Go input arguments: (data []byte)
Go returns: [32]byte
Joker input arguments: [^arrayOfByte data]
Joker returns: ^array32OfByte
Types
-
(None.)