Encryption support

encryption support in 3.5