This is the sample ruby on rails code of Cipher Technologies.