# class Digest::Class

### Public Class Methods

base64digest(str, *args) click to toggle source

From Ruby 1.9.2 source

    # File lib/facets/digest/base64digest.rb, line 36
    def self.base64digest(str, *args)
      [self.digest(str, *args)].pack('m0')
    end

salted_base64digest(str, salt=:auto, *args) click to toggle source

CREDIT: Guido De Rosa

    # File lib/facets/digest/salted_digest.rb, line 38
    def self.salted_base64digest(str, salt=:auto, *args)
      new(*args).salted_base64digest(str, salt)
    end

salted_digest(str, salt=:auto, *args) click to toggle source

CREDIT: Guido De Rosa

    # File lib/facets/digest/salted_digest.rb, line 28
    def self.salted_digest(str, salt=:auto, *args)
      new(*args).salted_digest(str, salt)
    end

salted_hexdigest(str, salt=:auto, *args) click to toggle source

CREDIT: Guido De Rosa

    # File lib/facets/digest/salted_digest.rb, line 33
    def self.salted_hexdigest(str, salt=:auto, *args)
      new(*args).salted_hexdigest(str, salt)
    end