Hashing
public protocol Hashing
Hashing
protocol defines the interface about hashing.
-
Hash password string with hashing function.
Declaration
Swift
func hash(password: String) -> CatCryptoResult
Parameters
password
Password string for hash.
Return Value
Return a result when hashing task finish.