added simple encryption class