public class HashIntoZp extends HashIntoZn
Zp.
This is a copy of HashIntoZn, however, it returns ZpElement's.
hashIntoZn, structure| Constructor and Description |
|---|
HashIntoZp(HashFunction hashFunction,
Zp zp) |
HashIntoZp(Representation repr)
Reconstructs the hash function from its representation.
|
HashIntoZp(Zp zp) |
| Modifier and Type | Method and Description |
|---|---|
Zp |
getTargetStructure()
Returns the ring
Zp that this function hashes into. |
Zp.ZpElement |
hash(byte[] x)
Hashes a byte array into the structure.
|
equals, getRepresentation, hash, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waithashpublic HashIntoZp(HashFunction hashFunction, Zp zp)
public HashIntoZp(Zp zp)
public HashIntoZp(Representation repr)
public Zp.ZpElement hash(byte[] x)
HashIntoStructurehash in interface HashIntoStructurehash in class HashIntoZnx - a sequence of bytes to hashpublic Zp getTargetStructure()
Zp that this function hashes into.getTargetStructure in class HashIntoZn