Implementing encryption support