Namespace: go.std.hash
v1.0Contents
Summary
Provides a low-level interface to the hash package.
Package hash provides interfaces for hash functions.
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.-
(None.)
Variables
-
(None.)
Functions, Macros, and Special Forms
-
(None.)
Types
-
Hash
Abstract Type v1.0Hash is the common interface implemented by all hash functions.
Hash implementations in the standard library (e.g. hash/crc32 and
crypto/sha256) implement the encoding.BinaryMarshaler and
encoding.BinaryUnmarshaler interfaces. Marshaling a hash implementation
allows its internal state to be saved and used for additional processing
later, without having to re-write the data previously written to the hash.
The hash state may contain portions of the input in its original form,
which users are expected to handle for any possible security implications.
Compatibility: Any future changes to hash or crypto packages will endeavor
to maintain compatibility with state encoded using previous versions.
That is, any released versions of the packages should be able to
decode data written with any previously released version,
subject to issues such as security fixes.
See the Go compatibility document for background: https://golang.org/doc/go1compat
-
BlockSize
Method for Hash v1.0([])
-
Reset
Method for Hash v1.0([])
-
Size
Method for Hash v1.0([])
-
Sum
Method for Hash v1.0([b])
-
Write
Method for Hash v1.0([p])
-
Hash32
Abstract Type v1.0Hash32 is the common interface implemented by all 32-bit hash functions.
-
BlockSize
Method for Hash32 v1.0([])
-
Reset
Method for Hash32 v1.0([])
-
Size
Method for Hash32 v1.0([])
-
Sum
Method for Hash32 v1.0([b])
-
Sum32
Method for Hash32 v1.0([])
-
Write
Method for Hash32 v1.0([p])
-
Hash64
Abstract Type v1.0Hash64 is the common interface implemented by all 64-bit hash functions.
-
BlockSize
Method for Hash64 v1.0([])
-
Reset
Method for Hash64 v1.0([])
-
Size
Method for Hash64 v1.0([])
-
Sum
Method for Hash64 v1.0([b])
-
Sum64
Method for Hash64 v1.0([])
-
Write
Method for Hash64 v1.0([p])
-
arrayOfHash
Concrete Type v1.0Hash is the common interface implemented by all hash functions.
Hash implementations in the standard library (e.g. hash/crc32 and
crypto/sha256) implement the encoding.BinaryMarshaler and
encoding.BinaryUnmarshaler interfaces. Marshaling a hash implementation
allows its internal state to be saved and used for additional processing
later, without having to re-write the data previously written to the hash.
The hash state may contain portions of the input in its original form,
which users are expected to handle for any possible security implications.
Compatibility: Any future changes to hash or crypto packages will endeavor
to maintain compatibility with state encoded using previous versions.
That is, any released versions of the packages should be able to
decode data written with any previously released version,
subject to issues such as security fixes.
See the Go compatibility document for background: https://golang.org/doc/go1compat
-
arrayOfHash32
Concrete Type v1.0Hash32 is the common interface implemented by all 32-bit hash functions.
-
arrayOfHash64
Concrete Type v1.0Hash64 is the common interface implemented by all 64-bit hash functions.