Add data padding (PKCS #7) and key derivation (PBKDF2).