Methods Summary |
---|
public boolean | equals(java.lang.Object obj)Compares this prime finite field for equality with the
specified object.
if (this == obj) return true;
if (obj instanceof ECFieldFp) {
return (p.equals(((ECFieldFp)obj).p));
}
return false;
|
public int | getFieldSize()Returns the field size in bits which is size of prime p
for this prime finite field.
return p.bitLength();
|
public java.math.BigInteger | getP()Returns the prime p of this prime finite field.
return p;
|
public int | hashCode()Returns a hash code value for this prime finite field.
return p.hashCode();
|