Argon2Type

public enum Argon2Type : Int

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

  • i

    Hash with Argon2i

    Declaration

    Swift

    case i = 0
  • d

    Hash with Argon2d

    Declaration

    Swift

    case d = 1
  • id

    Hash with Argon2id

    Declaration

    Swift

    case id = 2