Gamer.Site Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Generating random email addresses - Code Review Stack Exchange

    codereview.stackexchange.com/questions/58269/generating-random-email-addresses

    def get_one_random_name(letters): email_name = "" for i in range(7): email_name = email_name + random.choice(letters) return email_name Also, here is a recommandation from PEP 8: For example, do not rely on CPython's efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b.

  3. C++ Random Password Generator - Code Review Stack Exchange

    codereview.stackexchange.com/questions/184374

    Now I can just do password_score(generated_password) and set a limit for the security of my password. Here are some examples and how my program performs: ###. Generated password strength: 100/100. Password has been copied to clipboard! ### 1a,pA!T0c0&7 (PasswordMeter score: 100%) ###. Generated password strength: 100/100.

  4. Writing a random password generator - Code Review Stack Exchange

    codereview.stackexchange.com/questions/293541/writing-a-random-password-generator

    It generates passwords consisting of random characters. The user can exclude different types of characters (letters, numbers, symbols) from the generated password and can customize the length of the generated password. The code consists of a single module, by the way. I am using python 3.13.0-rc1, if that is necessary.

  5. Random password generator in Java - Code Review Stack Exchange

    codereview.stackexchange.com/questions/138993/random-password-generator-in-java

    1. I made a random password generator in Java using a GUI. In the program, the user can choose the length, and whether to include lowercase letters, uppercase letters, symbols or numbers in the password. I believe that my code could be much better and I want to know how I can make it so. Full code: JSlider lengthChooser; JButton genButton;

  6. Random generator extension for VSCode - Code Review Stack...

    codereview.stackexchange.com/questions/151239

    Background A VSCode extension that uses Chance.JS to generate random data types. Concerns My main concern is that there are 4 levels of function references that feels like a hack.

  7. c++ - Simple random generator - Code Review Stack Exchange

    codereview.stackexchange.com/questions/114066/simple-random-generator

    Based on this question, I have made a simple program to print a sequence of random numbers.The program seems to run fine, but I would like to know if my implementation is correct and how I can improve it.

  8. Random password generator (Java) - Code Review Stack Exchange

    codereview.stackexchange.com/questions/224131/random-password-generator-java

    I wrote this program recently to generate random passwords for myself. It works well but it's been a long time since I wrote any java and am just looking on ways to clean up the code. I'm also not sure how truly "random" the password generation is or if it is too excessive.

  9. Python random word generator - Code Review Stack Exchange

    codereview.stackexchange.com/questions/243654

    However, if you insist on /dev/random and want no import one thing you could do is retrieve a random integer like what you are doing now and use it in a modulo-type fashion against the list of matching items, to pick one word at random. Be careful with implementation as you may introduce unwanted bias in the selection.

  10. Random Number Generator Class - Code Review Stack Exchange

    codereview.stackexchange.com/questions/538

    12. I've written an abstract class in C# for the purpose of random number generation from an array of bytes. The .NET class RNGCryptoServiceProvider can be used to generate this array of random bytes, for example. Any suggestions for improvements would be welcome. \$\begingroup\$@Michael: The overloads with min/max params require floating-point ...

  11. Generate random string to match a specific pattern

    codereview.stackexchange.com/questions/268290/generate-random-string-to-match...

    In your random_char function, you don't use x at all. Replace it with _ (it's conventional in python to use _ for throwaway variables). y could also be renamed to something more descriptive. The name of the function could also be renamed to random_chars since you're generating one or more of them.