keeps/redmine_wikicipher — pull request #5 by kanfet (2013-01-30 12:12:44+00:00)
Title: Removing deprecation warning on Cipher#encrypt, Cipher#decrypt

Commit removes deprecation warning
```
warning: arguments for OpenSSL::Cipher::Cipher#encrypt and OpenSSL::Cipher::Cipher#decrypt were deprecated; use OpenSSL::Cipher::Cipher#pkcs5_keyivgen to derive key and IV
```
Please, look http://stackoverflow.com/questions/1349397/how-to-resolve-deprecation-warnings-for-opensslciphercipherencrypt

________

Also commit fixes decode of cyrillic (and maybe other non-ASCII) characters by force encode to utf-8
__________

P.S.: Your code need some refactoring. It has many repeats for decode\encode.