This post is about encrypting / drecrypting data, files more exactly. After google-ing for a while i found this to be very usefull for what i needed. This class uses RIJNDAEL-256 block cipher, which is based on a symetric key algorithm, this means that it’s using the same key for encryption and decryption.