모듈:Keygen: 두 판 사이의 차이

리버티게임(개발), 모두가 만들어가는 자유로운 게임
둘러보기로 이동 검색으로 이동
백괴게임>Gustmd7410
잔글편집 요약 없음
백괴게임>Gustmd7410
잔글편집 요약 없음
5번째 줄: 5번째 줄:
hashAlgo = function()
hashAlgo = function()
return '* ' .. table.concat(mw.hash.listAlgorithms(), '%n* ')
return '* ' .. table.concat(mw.hash.listAlgorithms(), [[
* ]])
end
end
}
}

2018년 6월 30일 (토) 18:01 판


모듈 설명문서[보기] [편집] [역사] [새로 고침]
이 부분의 본문은 틀:해시입니다.

입력한 텍스트의 해시값을 얻습니다. 자세한 정보는 틀:해시 문서를 참고해 주세요.


return {
	hash = function(frame)
		return mw.hash.hashValue(frame.args[1], frame.args[2])
	end,
	
	hashAlgo = function()
		return '* ' .. table.concat(mw.hash.listAlgorithms(), [[
			* ]])
	end
}