lib/aes_new/aes_new.rb in aes-new-1.0.1 vs lib/aes_new/aes_new.rb in aes-new-1.0.2
- old
+ new
@@ -121,10 +121,10 @@
# Merge init options with defaults
def merge_options(opts)
@options = {
:format => :base_64,
- :cipher => "AesNew-256-CBC",
+ :cipher => "AES-256-CBC",
:iv => nil,
:padding => true, # use cipher padding by default
}.merge! opts
_handle_iv
_handle_padding