Appwrite.Types.AlgoArgon2 (appwrite v1.0.0)

View Source

Parameters for the Argon2id password hashing algorithm.

Argon2id is the recommended algorithm for new Appwrite projects. The three tuning knobs control the memory-hardness, time-hardness, and parallelism of the hash function.

Fields

  • type (String.t()) — always "argon2".
  • memory_cost (non_neg_integer()) — memory consumed in kibibytes.
  • time_cost (non_neg_integer()) — number of iterations.
  • threads (non_neg_integer()) — degree of parallelism.

Summary

Types

t()

@type t() :: %Appwrite.Types.AlgoArgon2{
  memory_cost: non_neg_integer(),
  threads: non_neg_integer(),
  time_cost: non_neg_integer(),
  type: String.t()
}