home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / ruby / 1.8 / sha1.rb < prev    next >
Encoding:
Ruby Source  |  2007-03-07  |  269 b   |  15 lines

  1. # just for compatibility; requiring "sha1" is obsoleted
  2. #
  3. # $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
  4. # $Id: sha1.rb,v 1.1 2001/07/13 20:06:14 knu Exp $
  5.  
  6. require 'digest/sha1'
  7.  
  8. SHA1 = Digest::SHA1
  9.  
  10. class SHA1
  11.   def self.sha1(*args)
  12.     new(*args)
  13.   end
  14. end
  15.