Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The pipe operator makes it much easier to create home-grown cryptographic hash functions, as everybody used to do in the early 2000s:

    md5($password)
    |> sha1(...)
    |> sha1(...)
    |> md5(...)
    |> rot13(...)
    |> crc32(...)


Oh, now I'm convinced!




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

Search: