ext/digest/lib/sha1.rb


DEFINITIONS

This source file includes following functions.


   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