mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
15 lines
225 B
Ruby
15 lines
225 B
Ruby
|
# just for compatibility; requiring "sha1" is obsoleted
|
||
|
#
|
||
|
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
|
||
|
# $Id$
|
||
|
|
||
|
require 'digest/sha1'
|
||
|
|
||
|
SHA1 = Digest::SHA1
|
||
|
|
||
|
class SHA1
|
||
|
def self.sha1(*args)
|
||
|
new(*args)
|
||
|
end
|
||
|
end
|