вопрос по:
https://github.com/eggcar/GLibcCrypt-Netнепонятно вот это:
Just call Crypt() func and pass password + salt string, you will get the hashed string, which is exactly the same as most linux distribution /etc/shadow file contains.
в частности в применении вот к этому:
The
password has to be put through the glibc crypt() function, using salt
$1$abcdefgh$. The password in the data field has to be NULL terminated and the
packet encrypted with the login key.
cryptPw = crypt(plainPw, "$1$abcdefgh$");