Common `crypto` snippets (generate random bytes, salt, hash password, etc) for Node.js