singleton method Digest::Base.digest

digest(str) -> String[permalink][rdoc][edit]

与えられた文字列に対するハッシュ値を文字列で返します。 new(str).digest と等価です。