generalization of encrypt func
Merge branch 'master' of git@github.com:tagel/Verifier.git