Edit File by line
•
/
home
/
barbar84
/
public_h...
/
wp-conte...
/
plugins
/
sujqvwi
/
AnonR
/
anonr.TX...
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
1.8
•
File:
sha1.rb
# just for compatibility; requiring "sha1" is obsoleted
[
0
]
Fix
|
Delete
#
[
1
]
Fix
|
Delete
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
[
2
]
Fix
|
Delete
# $Id: sha1.rb 12007 2007-03-06 10:09:51Z knu $
[
3
]
Fix
|
Delete
[
4
]
Fix
|
Delete
require 'digest/sha1'
[
5
]
Fix
|
Delete
[
6
]
Fix
|
Delete
class SHA1 < Digest::SHA1
[
7
]
Fix
|
Delete
class << self
[
8
]
Fix
|
Delete
alias orig_new new
[
9
]
Fix
|
Delete
def new(str = nil)
[
10
]
Fix
|
Delete
if str
[
11
]
Fix
|
Delete
orig_new.update(str)
[
12
]
Fix
|
Delete
else
[
13
]
Fix
|
Delete
orig_new
[
14
]
Fix
|
Delete
end
[
15
]
Fix
|
Delete
end
[
16
]
Fix
|
Delete
[
17
]
Fix
|
Delete
def sha1(*args)
[
18
]
Fix
|
Delete
new(*args)
[
19
]
Fix
|
Delete
end
[
20
]
Fix
|
Delete
end
[
21
]
Fix
|
Delete
end
[
22
]
Fix
|
Delete
[
23
]
Fix
|
Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function
Edit text
Download
Information
Rename
Copy
Move
Delete
Chmod
List