Skip to content

Generated password info

Guillaume Vincent edited this page Mar 11, 2021 · 6 revisions

Options limits

Password Length

  • The length of the password to be generated.
  • The default length is 16.
  • The minimum length is 5.
  • The maximum length is 35, because of the length of the entropy that LessPass consume.

Password Counter

  • The number used in the salt which is formed by concatenating Site, Login and Counter (as hex).
  • The default counter is 1.
  • The minimum counter is 1.
  • The maximum counter is not defined.

Crypto

  • The keylen is the length of the intermediary key generated by PBKDF2.
  • The digest is the function to be used by PBKDF2 while generating the intermediary key.
  • The iterations is the number of iterations taken by PBKDF2 while generating the intermediary key.

Due to a limit fixed by the webcrypto used by the browser, the digest is sha256 and the keylen is equal to 32.

The iterations is fixed at 100000.

Default Password Profile

defaultPasswordProfile = {
  version: 2,
  lowercase: true,
  numbers: true,
  uppercase: true,
  symbols: true,
  keylen: 32,
  digest: 'sha256',
  length: 16,
  counter: 1,
  iterations: 100000
};