add legacy functions setkey() and encrypt()
2 files changed