Sha256: 03b8d7181e8bb953ac966543a646068908a14615634d7388bc9c67e0cfe7b26c

Contents?: true

Size: 137 Bytes

Versions: 42

Compression:

Stored size: 137 Bytes

Contents

# frozen_string_literal: true

# to create a hash
class Atome
  def calculate_sha(string)
    Digest::SHA256.hexdigest(string)
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
atome-0.5.6.1.4 lib/atome/extensions/sha.rb
atome-0.5.6.1.1 lib/atome/extensions/sha.rb
atome-0.5.6.1.0 lib/atome/extensions/sha.rb
atome-0.5.6.0.4 lib/atome/extensions/sha.rb
atome-0.5.6.0.3 lib/atome/extensions/sha.rb
atome-0.5.6.0.2 lib/atome/extensions/sha.rb
atome-0.5.5.9.1 lib/atome/extensions/sha.rb
atome-0.5.5.8.7 lib/atome/extensions/sha.rb
atome-0.5.5.8.5 lib/atome/extensions/sha.rb
atome-0.5.5.8.1 lib/atome/extensions/sha.rb
atome-0.5.5.7.7 lib/atome/extensions/sha.rb
atome-0.5.5.7.5 lib/atome/extensions/sha.rb
atome-0.5.5.7.3 lib/atome/extensions/sha.rb
atome-0.5.5.7.1 lib/atome/extensions/sha.rb
atome-0.5.5.7.0 lib/atome/extensions/sha.rb
atome-0.5.5.6.9 lib/atome/extensions/sha.rb
atome-0.5.5.6.8 lib/atome/extensions/sha.rb
atome-0.5.5.6.7.9 lib/atome/extensions/sha.rb
atome-0.5.5.6.6 lib/atome/extensions/sha.rb
atome-0.5.5.6.5 lib/atome/extensions/sha.rb