Hacker News new | past | comments | ask | show | jobs | submit login

For ease:

  # echo -n "password" | sha1sum | cut -b 1-5
    5baa6



Yeah, but you would need two commands then, because you need to search for bytes 6-40 in the resulting output. I made a one-liner farther down the comments.[1]

1: https://news.ycombinator.com/item?id=16434244




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: