Quote:
Originally Posted by Rufus
This should be just implemented globally as a central system. @#$%! also beats ***** 
|
Replace the provided function with:
PHP Code:
function getReplacement(characters) {
temp.symbols = "!@#$%&";
temp.s = int(random(0, symbols.length()));
for (temp.i = 0; temp.i < characters; temp.i++) {
temp.newstr @= symbols.charat((temp.s + temp.i)%symbols.length());
}
return temp.newstr;
}
Perhaps a getReplacementSymbols config option could be added.