Sha256: 03f342d5a9848e6f4580be56a33e1858d49da188c1e7fde8bef2c448b0d36469
Contents?: true
Size: 359 Bytes
Versions: 111
Compression:
Stored size: 359 Bytes
Contents
describe "Crypt" do it "should crypt" do require 'crypt/rijndael' rijndael = Crypt::Rijndael.new("A key 16, 24, or 32 bytes length") plainString = "Bla bla bla !!!" encryptedString = rijndael.encrypt_string(plainString) decryptedString = rijndael.decrypt_string(encryptedString) plainString.should == decryptedString end end
Version data entries
111 entries across 111 versions & 2 rubygems