DES and Triples DES encryption and decryption for the Energia platform