Class: Cloudkeeper::Utils::Checksum

Inherits:
Object
  • Object
show all
Defined in:
lib/cloudkeeper/utils/checksum.rb

Class Method Summary collapse

Class Method Details

.compute(file) ⇒ Object



4
5
6
# File 'lib/cloudkeeper/utils/checksum.rb', line 4

def self.compute(file)
  Digest::SHA512.file(file).hexdigest
end