You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
347 B

  1. // Use of this source code is governed by an ISC
  2. // license that can be found in the LICENSE file.
  3. package hash
  4. type Digest interface {
  5. // See hash.Hash
  6. Hash
  7. // Close the digest by writing the last bits and storing the hash
  8. // in dst. This prepares the digest for reuse, calls Hash.Reset.
  9. Close(dst []byte, bits uint8, bcnt uint8) error
  10. }