Class SHA1
In: digest/lib/sha1.rb
Parent: Digest::SHA1

Methods

new   sha1  

External Aliases

new -> orig_new

Public Class methods

[Source]

# File digest/lib/sha1.rb, line 11
    def new(str = nil)
      if str
        orig_new.update(str)
      else
        orig_new
      end
    end

[Source]

# File digest/lib/sha1.rb, line 19
    def sha1(*args)
      new(*args)
    end

[Validate]

ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.