fromCrypt function
Decodes a PHC / Modular Crypt Format string into CryptData.
Parameters:
inputis the crypt string to parse.
Throws:
- FormatException if
inputis not a well-formed crypt string. - ArgumentError if a parsed field is invalid.
Implementation
CryptData fromCrypt(String input) {
return crypt.decoder.convert(input);
}