KDF is the type that all the key derivation functions implements. The current methods uses safe default values, but future improvements can add functional options to be able to use custom settings.
func(password []byte) (string, error)
| 18 | // current methods uses safe default values, but future improvements can add |
| 19 | // functional options to be able to use custom settings. |
| 20 | type KDF func(password []byte) (string, error) |
| 21 | |
| 22 | // Scrypt uses scrypt-32768 to derive the given password. Returns the hash |
| 23 | // using the PHC string format. |
nothing calls this directly
no outgoing calls
no test coverage detected