Module ffi.md5

MD5 hash library.

Functions

md5_proto:update (luastr) Feed content to md5 hashing instance.
md5_proto:sum (luastr) Calcualte md5 sum with the state of a md5 hashing instance.
new () Create a new md5 hashing instance.
sum (luastr) Calcualte md5 sum.
sumFile (filename) Calcualte md5 sum for a file.


Functions

md5_proto:update (luastr)
Feed content to md5 hashing instance.

Parameters:

  • luastr string stream to process
md5_proto:sum (luastr)
Calcualte md5 sum with the state of a md5 hashing instance.

Parameters:

  • luastr string stream to process

Returns:

    string md5 sum in Lua string
new ()
Create a new md5 hashing instance.

Returns:

    md5 instance
sum (luastr)
Calcualte md5 sum.

Parameters:

  • luastr string stream to process

Returns:

    string md5 sum in Lua string
sumFile (filename)
Calcualte md5 sum for a file.

Parameters:

Returns:

    string md5 sum in Lua string
generated by LDoc 1.4.6 Last updated 2017-10-08 14:57:40