This document provides recommendations for the implementation of password-based cryptography, covering key derivation functions, encryption schemes, and message-authentication schemes.
- PKCS #5 v2.0 Password-Based Cryptography Standard: MS-Word, Acrobat PDF, PostScript, ps.zip
- PKCS #5 v2.0 Amendment 1: XML Schema for Password-Based Cryptography: Adobe PDF
- XML schema file for PKCS #5 v2.0 Amendment 1
This file, by courtesy of Dr. Stephen Henson (firstname.lastname@example.org), contains three Base64-encoded PKCS #8 EncryptedPrivateKeyInfo values, all making use of PBES2 and PBKDF2 defined in PKCS #5 v2.0. The first key is encrypted with des-cbc, the second with des-ede3-cbc and the third with rc2-cbc. The password in each case is "password" (without quotes). Once decrypted, they should all yield the same private RSA key.