Hopefully fixed encryption, added 3DES