Back

How is my password protected?

Your password is stored as a PBKDF2-HMAC-SHA-256 hash, with a random salt and a secret key specific to our servers. It is never stored in plain text.

What is this about?

Your password is never stored as is. OnlyU keeps a hash of it, calculated as follows:

  • PBKDF2-HMAC-SHA-256, with 100,000 iterations;
  • a 16-byte random salt, unique to your account;
  • a secret key specific to our servers, applied as an additional layer.

When you log in, the hash is recalculated and compared in constant time. When you sign up, your password must be at least 8 characters long and include an uppercase letter, a lowercase letter, a number, and a special character.

What you gain

Even a copy of our database would not reveal your password: an attacker would need to both repeat this costly calculation for every attempt and obtain the secret key held on our servers.

A concrete example

The security manager of a small or medium-sized business evaluates OnlyU before rolling it out to their teams. In this description, they find the recommended practices for password storage.