SHA256-CRYPT / SHA512-CRYPT in node.js
问题 I use dovecot as my mail transfer agent and I aim to use the strongest password scheme which is supported by my system: SHA512-CRYPT or SHA256-CRYPT (BLF-CRYPT doesn't work). For my own written webinterface I look for a function or library in node.js for hashing a password (with SHA***-CRYPT). 回答1: You may consider checking: https://github.com/mvo5/sha512crypt-node which contains a implementation for sha512crypt in JS. Its very new but passes the testvectors from the glibc reference