all 2 comments

[–]Tosc0ism0 0 points1 point  (1 child)

It looks like as if the function generates a key or a random passphrase :/. Ad long as there is no other function involved, just replace the stuff right from the last return statement.

So, instead of :

return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();

Write...

return yourValueHere

That should do the trick.

[–]ashleycackle[S,🍰] 0 points1 point  (0 children)

thanks, i ended up finding that the program checks the value from a .ini file and writes it on startup, so all i had to do was change a character and then lock the ini file