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 more

    Declaration

    Swift

    public enum Argon2SwiftErrorCode : Int32
  • An enum to select the Argon2 type used to hash, contains 3 modes: i, d, and id, each signifying their corresponding Argon2 type

    See more

    Declaration

    Swift

    public enum Argon2Type : Int
  • An enum to wrap around the Argon2 Version used in the hashing operation, which can be either V13 or V10

    See more

    Declaration

    Swift

    public enum Argon2Version : Int