public interface Hasher
| Modifier and Type | Method and Description | 
|---|---|
| int | hash(Database db,
    byte[] data,
    int len)An application-specified, database-specific hash function. | 
int hash(Database db, byte[] data, int len)
The hash function must handle any key values used by the application (possibly including zero-length keys).
db - The enclosing database handle.data - The byte string to be hashed.len - The length of the byte string in bytes.
    @return The hash value of the byte string.
Copyright (c) 2004,2014 Oracle. All rights reserved.