16 lines
468 B
Plaintext
16 lines
468 B
Plaintext
<cfparam name="passwd" default=""/>
|
|
<cfset tStart=GetTickCount()/>
|
|
<cfoutput>
|
|
<form action="" method="post">
|
|
<input type="password" name="passwd"/>
|
|
<input type="submit"/>
|
|
<br/>
|
|
#GenerateArgon2Hash(#passwd#, 'argon2id', 1, 16000, 2)#
|
|
<!---input variant parallelizmFactor memoryCost iterations--->
|
|
<!---https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#argon2id--->
|
|
<br/>
|
|
</form>
|
|
#(GetTickCount()-tStart)# ms
|
|
</cfoutput>
|
|
|