A script language of time-sharing scheduling coroutine in single thread
m = Import('md5');
This function is used to calculate MD5 digest.
m.md5(data);
Input:
data
- a string or an opened File
object.Return value:
false
will be returned.Error:
Example:
m = Import('md5');
sys = Import('sys');
sys.print(m.md5('md5 test'));
The output is:
2e5f9458bcd27e3c2b5908af0b91551a