The PBKDF2 class The security.PBKDF2 class generates passwords using the Password-Based Key Derivation Function 2 (PBKDF2). security.PBKDF2 methodsMethods of the security.PBKDF2 class.Example: Using security.PBKDF2 methodsThis example generates a key size of 128-bits based on a given password.