Documentation ¶
Overview ¶
Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4.
Index ¶
- type Digest
- func (d *Digest) AppendBinary(b []byte) ([]byte, error)
- func (d *Digest) BlockSize() int
- func (d *Digest) MarshalBinary() ([]byte, error)
- func (d *Digest) Reset()
- func (d *Digest) Size() int
- func (d *Digest) Sum(in []byte) []byte
- func (d *Digest) UnmarshalBinary(b []byte) error
- func (d *Digest) Write(p []byte) (nn int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Digest ¶
type Digest struct {
// contains filtered or unexported fields
}
Digest is a SHA-224 or SHA-256 hash.Hash implementation.
func (*Digest) MarshalBinary ¶
func (*Digest) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.