Updated example program simpleencryption to utilize the new common interface.