public class HashIntoCountingGroupImpl extends java.lang.Object implements HashIntoGroupImpl
CountingGroupImpl via HashIntoZn.| Modifier and Type | Field and Description |
|---|---|
protected CountingGroupImpl |
group |
protected HashIntoZn |
hash |
| Constructor and Description |
|---|
HashIntoCountingGroupImpl(CountingGroupImpl group) |
HashIntoCountingGroupImpl(Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Representation |
getRepresentation()
The representation of this object.
|
int |
hashCode() |
GroupElementImpl |
hashIntoGroupImpl(byte[] x)
Hashes a byte array into the configured group.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waithashIntoGroupImpl, hashIntoGroupImplprotected CountingGroupImpl group
protected HashIntoZn hash
public HashIntoCountingGroupImpl(CountingGroupImpl group)
public HashIntoCountingGroupImpl(Representation repr)
public Representation getRepresentation()
RepresentableReprUtilgetRepresentation in interface RepresentableRepresentationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic GroupElementImpl hashIntoGroupImpl(byte[] x)
HashIntoGroupImplhashIntoGroupImpl in interface HashIntoGroupImplx - a sequence of bytes to hash