Created
October 27, 2017 11:42
-
-
Save anonymous/94d05f5f8cbddea7f83dee1b15757118 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
password = 'Password123'; | |
password_firstchar = left(password,1); | |
password_lastchar = right(password,1); | |
writeOutput(password_firstchar & '***' & password_lastchar); | |
writeOutput('<p> </p>'); | |
writeOutput(password_firstchar); | |
writeOutput(repeatString('.',len(password)-2)); | |
writeOutput(password_lastchar); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment