debian11的密码加密算法是什么?

有哪位大神知道,debian11的加密算法是哪种吗?
在/etc/shadow文件里看到代表加密算法的是$y$,但没有查到这代表的哪种算法

阅读:

https://www.debian.org/releases/stable/amd64/release-notes/ch-information.zh-cn.html#pam-default-password

用于本地系统帐号的默认密码哈希已从 SHA-512 变更yescrypt(参见 crypt(5))。预期这项修改将提供对基于字典的密码猜测攻击的更好保护,可以提升针对攻击的时间和空间复杂性。

From crypt(5):

yescrypt

yescrypt is a scalable passphrase hashing scheme designed by Solar Designer, which is based on Colin Percival’s scrypt. Recommended for new hashes.

Prefix

“$y$”

Hashed passphrase format

$y$[./A-Za-z0-9]+$[./A-Za-z0-9]{,86}$[./A-Za-z0-9]{43}

Maximum passphrase length

unlimited

Hash size

256 bits

Salt size

up to 512 bits

CPU time cost parameter

1 to 11 (logarithmic)

1 个赞