CatArgon2Crypto
public class CatArgon2Crypto : Contextual, Hashing, Verification
CatArgon2Crypto
is the crypto for Argon2 function.
Argon2 is the password-hashing function that won the Password Hashing Competition (PHC).
-
Declaration
Swift
public typealias Context = CatArgon2Context
-
Context for the crypto.
Declaration
Swift
public var context: CatArgon2Context
-
Declaration
Swift
public required init(context: Context = CatArgon2Context())
-
Declaration
Swift
public func hash(password: String) -> CatCryptoResult
-
Declaration
Swift
public func verify(hash: String, password: String) -> CatCryptoResult