Class MD5
- Package :
- util
An MD5 message digest implementation. Example use :
This will leave s containing a 16 char string, being the
digest.
- Example :
m := MD5()
m.update("here is some input")
m.update("here is some more")
s := m.final()
- Source
Methods defined in this class |
F(x, y, z)
FF(a, b, c, d, x, s, ac)
G(x, y, z)
GG(a, b, c, d, x, s, ac)
H(x, y, z)
HH(a, b, c, d, x, s, ac)
I(x, y, z)
II(a, b, c, d, x, s, ac)
decode(block)
encode(n)
final()
final_str()
initially()
reset()
rotate_left(x, n)
transform(block)
update(input)
|
F(x, y, z)
-
- Source
FF(a, b, c, d, x, s, ac)
-
- Source
G(x, y, z)
-
- Source
GG(a, b, c, d, x, s, ac)
-
- Source
H(x, y, z)
-
- Source
HH(a, b, c, d, x, s, ac)
-
- Source
I(x, y, z)
-
- Source
II(a, b, c, d, x, s, ac)
-
- Source
decode(block)
- Private method, not intended for client invocation
encode(n)
- Private method, not intended for client invocation
final()
-
Complete and return the computation of the digest as
a string of 16 characters.
- Source
final_str()
-
Call final and then convert the result to a 32 bit string
of lower case hex digits.
- Source
initially()
-
reset()
-
Reset this object, so it may be used for another
computation. Called by final().
- Source
rotate_left(x, n)
-
- Source
transform(block)
-
- Source
update(input)
-
Add some input data to the computation
- Parameters :
- input - a string
- Source
a
-
b
-
bit_count
-
buffer
-
c
-
d
-