aboutsummaryrefslogtreecommitdiff
path: root/lib/keyring/crypt.rb
blob: 5968730afdd61632b2622ee98de89a29e5623103 (plain)
1
2
3
4
5
6
7
8
9
10
module Keyring
  class Crypt
    def decrypt(filename)
      file    = Fs.new()
      content = file.get_as_string(filename)
      crypt   = Backend::Crypt.new(nil)
      return crypt.decrypt(content)
    end
  end
end