Enumerations
The following enumerations are available globally.
-
An enum to manage the argon2 error codes, almost exacly synchronous with the error codes given from the actual Argon2 C reference library with the addition of Unknown error in case
See moreDeclaration
Swift
public enum Argon2SwiftErrorCode : Int32
-
An enum to select the Argon2 type used to hash, contains 3 modes:
See morei
,d
, andid
, each signifying their corresponding Argon2 typeDeclaration
Swift
public enum Argon2Type : Int
-
An enum to wrap around the Argon2 Version used in the hashing operation, which can be either
See moreV13
orV10
Declaration
Swift
public enum Argon2Version : Int