java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.ParamsOfScrypt
- Record Components:
password- The password bytes to be hashed. Must be encoded with `base64`.salt- Salt bytes that modify the hash to protect against Rainbow table attacks. Must be encoded with `base64`.logN- CPU/memory cost parameterr- The block size parameter, which fine-tunes sequential memory read size and performance.p- Parallelization parameter.dkLen- Intended output length in octets of the derived key.
- Enclosing class:
Crypto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondkLen()Returns the value of thedkLenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logN()Returns the value of thelogNrecord component.p()Returns the value of theprecord component.password()Returns the value of thepasswordrecord component.r()Returns the value of therrecord component.salt()Returns the value of thesaltrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfScrypt
Creates an instance of aParamsOfScryptrecord class.
-
-
Method Details
-
toString
-
hashCode
-
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 withObjects::equals(Object,Object). -
password
-
salt
-
logN
-
r
-
p
-
dkLen
-