Instance Method
hash(_:)
Hashes a password using PBKDF2.
func hash<Password>(_ password: Password) throws -> [UInt8] where Password : DataProtocol
Parameters
passwordThe password to hash.
Return Value
The hash string as UTF-8 bytes.
Instance Method
func hash<Password>(_ password: Password) throws -> [UInt8] where Password : DataProtocol
passwordThe password to hash.
The hash string as UTF-8 bytes.