Making Salts Solution – Web Development

Making Salts Solution – Web Development

Here’s my version. I’m using the string module as well which has this handy little thing called string.letters which is just a bunch of letters. And then I’m using the random.choice function which chooses one value from a list and returns that. And then we can join it all together in a string using join. And we’re going to do that five times. Okay, so if we run my function it looks like this. And if we run it again. We get a different result and if we run again we’re going to get an even different result, okay, so this is a cool little function for making our salt.

Be the first to comment

Leave a Reply

Your email address will not be published.