Notes

KDF

Key Derivation Function(KDF)

KDF is a function generates pseudo random key from password. Password is something we usually used to encrypt a file, or login to a website, because it is easy to remember or note for human, but not random enough to use directly as key to encrypt, and not secure to store in database.

You can think of KDF as just MAC, but run many iterations and consume some CPU and RAM.

Links to this note