CatArgon2Context

public class CatArgon2Context

Context for Argon2 crypto.

  • Number of iterations.

    Declaration

    Swift

    public var iterations: Int { get set }
  • Memory usage.

    Declaration

    Swift

    public var memory: Int { get set }
  • Number of threads and compute lanes.

    Declaration

    Swift

    public var parallelism: Int { get set }
  • The mode of Argon2.

    Declaration

    Swift

    public var mode: CatArgon2Mode
  • String to salt.

    Declaration

    Swift

    public var salt: String
  • Desired length of the hash.

    Declaration

    Swift

    public var hashLength: Int { get set }
  • Desired hash result type.

    Declaration

    Swift

    public var hashResultType: CatArgon2HashResultType
  • Initialize the context.

    Declaration

    Swift

    public init()