Argon2Algorithm

Bun

Symbol

Password.Argon2Algorithm

interface Argon2Algorithm

  • algorithm: 'argon2id' | 'argon2d' | 'argon2i'
  • memoryCost?: number

    Memory cost, which defines the memory usage, given in kibibytes.

  • timeCost?: number

    Defines the amount of computation realized and therefore the execution time, given in number of iterations.