mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
12 lines
331 B
Go
12 lines
331 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package hashing
|
|
|
|
// Hasher is an interface to compute a hash value.
|
|
type Hasher interface {
|
|
// Hash takes a string and computes its hash value.
|
|
// Values must be computed deterministically.
|
|
Hash([]byte) uint64
|
|
}
|