Introduction - If you have any usage issues, please Google them yourself
File Encryption and Decryption using Password Based Encryption (PBE).
Password-Based Encryption (PBE) derives an encryption key from a password. In order to make the task of getting from password to key very time-consuming for an attacker, most PBE implementations (as the one shown below) will mix in a random number, known as a salt, to create the key.