lib/diffcrypt/file.rb
def cipher
      return 'aes-128-gcm' if format == 'activesupport'

      to_yaml['cipher'] || Encryptor::DEFAULT_CIPHER
    end
# Determines the cipher to use for encryption/decryption
Determines the cipher to use for encryption/decryption
Determines the cipher to use for encryption / decryption
def cipher
      return 'aes-128-gcm' if format == 'activesupport'
      to_yaml['cipher'] || Encryptor::DEFAULT_CIPHER
    end
def cipher return 'aes-128-gcm' if format == 'activesupport' to_yaml [ 'cipher' ] || Encryptor :: DEFAULT_CIPHER end
Determines the cipher to use for encryption/decryption
Determines the cipher to use for encryption / decryption