| java.lang.Object | |
| ↳ | com.google.firebase.auth.hash.Scrypt.Builder |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Scrypt | build() | ||||||||||
| Scrypt.Builder |
setKey(byte[] key)
Sets the signer key.
| ||||||||||
| Scrypt.Builder |
setMemoryCost(int memoryCost)
Sets the memory cost.
| ||||||||||
| T extends Builder |
setRounds(int rounds)
Sets the number of rounds for the hash algorithm.
| ||||||||||
| Scrypt.Builder |
setSaltSeparator(byte[] saltSeparator)
Sets the salt separator.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Scrypt.Builder | getInstance() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sets the signer key. Required field.
| key | Signer key as a byte array. |
|---|
Sets the memory cost. Required field.
| memoryCost | an integer between 1 and 14 (inclusive). |
|---|
Sets the number of rounds for the hash algorithm.
| rounds | an integer between 0 and 120000 (inclusive). |
|---|
Sets the salt separator.
| saltSeparator | Salt separator as a byte array. |
|---|