• homura1650@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    11 days ago

    That depends on how you are hashing. If you are doing something like ‘os.shell(“echo {password} | sha512sum”)’, you still have to be worried about special characters.

    • poolcritter@pawb.social
      link
      fedilink
      arrow-up
      8
      ·
      11 days ago

      I don’t know whether to be more scared of the fact that people would do this or that people probably have done this.

      • homura1650@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        11 days ago

        I’ve had to clean up from people doing that. As a bonus, that echo shoved a newline to the end every password.