Documentation for this module may be created at Module:MD5/doc

local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.main(frame)
    local args = getArgs(frame, {
    	--we will only consider arguments that are passed by the template itself in the invoke
    	frameOnly = true
    })
    -- let's make sure defaults are set
    args.value = args.value or ""
    return mw.hash.hashValue('md5',args.value)
end
return p