This immutable class defines an elliptic curve (EC) prime finite field.
This immutable class defines an elliptic curve (EC) prime finite field.
(->ec-field-fp p)
Constructor.
Creates an elliptic curve prime finite field with the specified prime p.
p - the prime. - java.math.BigInteger
throws: java.lang.NullPointerException - if p is null.
Constructor. Creates an elliptic curve prime finite field with the specified prime p. p - the prime. - `java.math.BigInteger` throws: java.lang.NullPointerException - if p is null.
(equals this obj)
Compares this prime finite field for equality with the specified object.
obj - the object to be compared. - java.lang.Object
returns: true if obj is an instance
of ECFieldFp and the prime value match, false otherwise. - boolean
Compares this prime finite field for equality with the specified object. obj - the object to be compared. - `java.lang.Object` returns: true if obj is an instance of ECFieldFp and the prime value match, false otherwise. - `boolean`
(get-field-size this)
Returns the field size in bits which is size of prime p for this prime finite field.
returns: the field size in bits. - int
Returns the field size in bits which is size of prime p for this prime finite field. returns: the field size in bits. - `int`
(get-p this)
Returns the prime p of this prime finite field.
returns: the prime. - java.math.BigInteger
Returns the prime p of this prime finite field. returns: the prime. - `java.math.BigInteger`
(hash-code this)
Returns a hash code value for this prime finite field.
returns: a hash code value. - int
Returns a hash code value for this prime finite field. returns: a hash code value. - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close