Hacker News new | ask | show | jobs
by ljm 210 days ago
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(...)
1 comments

Oh, now I'm convinced!