Using PBKDF

The PBKDF class provides a method of deriving keys from a user password. The following example derives a 20-byte key: