Package co.cryptoservice.sdk
Record Class Argon2Params
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.Argon2Params
- Record Components:
m- memory in KiBp- lanes (parallelism)t- passes (time cost)
The
params member.-
Constructor Summary
ConstructorsConstructorDescriptionArgon2Params(int m, int p, int t) Creates an instance of aArgon2Paramsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intm()Returns the value of themrecord component.intp()Returns the value of theprecord component.intt()Returns the value of thetrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
m
public int m()Returns the value of themrecord component.- Returns:
- the value of the
mrecord component
-
p
public int p()Returns the value of theprecord component.- Returns:
- the value of the
precord component
-
t
public int t()Returns the value of thetrecord component.- Returns:
- the value of the
trecord component
-