Sha256: 401fcea5072e2446a53415986f423bb1984ebc172c909e8f9db8113008f0903c

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

require 'rubygems/digest/sha2.rb'

module Crypt
  def self.digest(input)
    Digest::SHA2::digest(input.to_s)
  end
  def self.hexdigest(input)
    Digest::SHA2::hexdigest(input.to_s)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 lib/appswarm/crypt.rb