A key derivation function is an algorithm that generates a cryptographic key from a password or master key. They produce the same result every time for a given input such that it is possible to find the key from a given password. Passwords are potentially too weak to use directly in encryption. Key derivation functions are often used to create a longer and more random key from a password. This is technique is known as key stretching.Key derivation functions are commonly based on cryptographic hash functions or block ciphers and may make use of salt and pepper.
Cookies help us deliver our services. You have choices regarding these cookies. Please visit our privacy policy, cookie policy and consent tool to learn more.
Copyright 2002-2026 Simplicable. All rights reserved. This material may not be published, broadcast, rewritten, redistributed or translated. Report violations here.