1// Copyright 2014-2019 Ulrich Kunitz. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5/* 6Package hash provides rolling hashes. 7 8Rolling hashes have to be used for maintaining the positions of n-byte 9sequences in the dictionary buffer. 10 11The package provides currently the Rabin-Karp rolling hash and a Cyclic 12Polynomial hash. Both support the Hashes method to be used with an interface. 13*/ 14package hash 15