NCipher
Installation
Add this line to your application's Gemfile:
gem 'n_cipher'
And then execute:
$ bundle
Or install it yourself as:
$ gem install n_cipher
Usage
require 'n_cipher'
NCipher::encode('にゃんぱす', seed: 'おうどん', delimiter: 'ひげ')
#=> "んおおうどどんひげんおおどおおんひげんおおどうおんひげんおおうんおうひげんおおううどうひげ"
NCipher::decode(
'んおおうどどんひげんおおどおおんひげんおおどうおんひげんおおうんおうひげんおおううどうひげ',
seed: 'おうどん', delimiter: 'ひげ')
#=> "にゃんぱす"