public class HashIntoBasicGroup extends java.lang.Object implements HashIntoGroup
HashIntoGroupImpl wrapper where operations are evaluated naively, i.e. operation by operation.| Modifier and Type | Field and Description |
|---|---|
protected HashIntoGroupImpl |
impl |
protected BasicGroup |
target |
| Constructor and Description |
|---|
HashIntoBasicGroup(HashIntoGroupImpl hash,
BasicGroup target) |
HashIntoBasicGroup(Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Representation |
getRepresentation()
The representation of this object.
|
BasicGroupElement |
hash(byte[] x)
Hashes a byte array into the structure.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waithash, hashprotected HashIntoGroupImpl impl
protected BasicGroup target
public HashIntoBasicGroup(HashIntoGroupImpl hash, BasicGroup target)
public HashIntoBasicGroup(Representation repr)
public BasicGroupElement hash(byte[] x)
HashIntoStructurehash in interface HashIntoGrouphash in interface HashIntoStructurex - a sequence of bytes to hashpublic 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.Object