• Crul@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    I asked Claude.ai to write a “witchy” theme password generator:
    WARNING: This is not intended to be used to generate real passwords, they may not be secure (enough)
    https://syncfiddle.net/fiddle/-NdzulDiwTeG5GCzFEn1

    I think you have to push the RUN green button.

    Prompts used

    Write a program in JavaScript that generates random password phrases composed of “witchy”-theme words.

    Here it is an example of a password composed of “witchy”-theme words:

    SluttyUpri$ing69Kill-Kill-Kill#Destroy-Burn-It-All-D0wn


    It’s a bit too serious. Rewrite the arrays adjective and nouse adding some funny words while keeping the “witchy” theme.


    Now write a simple HTML frontend to use it

    HTML / JS code, in case the snippet expires
      Witchy Password Generator
    
    
    
      <h1>Witchy Password Generator</h1>
      
      Generate Password
      
      <div></div>
    
    • adj16@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      This feels like an appropriate place to comment that passwords of that length are essentially uncrackable by modern standards and that you have no need for the pesky and easily forgettable special characters or numbers! Relevant xkcd.

      Quick note on the comic - dictionary attacks are possible now, so four plaintext words is not enough without special characters, but 10, like your example, is more than enough :)

      • Crul@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I didn’t realize that someone could use it to create real passwords (…which now seems obvious).

        So I added a warning, just in case.