mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-31 07:30:22 +00:00
mkpasswd: support the Chinese algorithms
This commit is contained in:
parent
15883e61b2
commit
9d8f93b3c2
@ -138,6 +138,10 @@ static const struct crypt_method methods[] = {
|
||||
#endif
|
||||
{ "descrypt", "", 2, 2, 0,
|
||||
N_("standard 56 bit DES-based crypt(3)") },
|
||||
#if XCRYPT_VERSION_NUM >= ((4 << 16) | 5)
|
||||
{ "sm3crypt", "$sm3$", 0, 0, 1, "ShangMi 3" },
|
||||
{ "sm3_yescrypt", "$sm3y$", 0, 0, 1, "ShangMi 3 Yescrypt" },
|
||||
#endif
|
||||
#if XCRYPT_VERSION_NUM >= ((4 << 16) | 4)
|
||||
{ "gost-yescrypt", "$gy$", 0, 0, 1, "GOST Yescrypt" },
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user