test/reader_test.rb in symmetric-encryption-3.0.3 vs test/reader_test.rb in symmetric-encryption-3.1.0
- old
+ new
@@ -29,11 +29,10 @@
@data_encrypted_with_header = SymmetricEncryption::Cipher.build_header(
@cipher.version,
compress = false,
@cipher.send(:iv),
@cipher.send(:key),
- @cipher.cipher_name,
- binary=false,
+ @cipher.cipher_name
)
@data_encrypted_with_header << @cipher.binary_encrypt(@data_str)
# Verify regular decrypt can decrypt this string
@cipher.binary_decrypt(@data_encrypted_without_header)