lib/diffcrypt/file.rb
# TODO: Add a test to verify this does descrypt properly
Add a test to verify this does descrypt properly
Add a test to verify this does descrypt properly
def decrypt(key)
      return read unless encrypted?
      Encryptor.new(key, cipher: cipher).decrypt(read)
    end
def decrypt ( key ) return read unless encrypted? Encryptor . new ( key , cipher : cipher ) . decrypt ( read ) end
TODO: Add a test to verify this does descrypt properly
TODO : Add a test to verify this does descrypt properly
key