lib/symmetric_encryption/cipher.rb in symmetric-encryption-4.0.1 vs lib/symmetric_encryption/cipher.rb in symmetric-encryption-4.1.0.beta1

- old
+ new

@@ -16,11 +16,11 @@ version: 0, always_add_header: true, encoding: :base64strict, **config) - Key.migrate_config!(config) - key = Key.from_config(cipher_name: cipher_name, **config) + Keystore.migrate_config!(config) + key = Keystore.read_key(cipher_name: cipher_name, **config) Cipher.new( key: key.key, iv: key.iv, cipher_name: cipher_name,