这个需求不是很懂,但是如果只是想要这种基于某些输入的随机密码的话,可以考虑sha,把你要的入参排排好,之后直接对他sha就好了,最后取sha中的特定部分就行。

wang feora <aus...@gmail.com> 于2022年12月19日周一 16:18写道:

> hi,all
>   大家有没有搞过类似场景,服务器系统根据用户名、主机名、修改密码的时间这个三个因子采用
> 椭圆非对称加密算法生成随机密码,使用工具输入三个因子就可以获得生成的随机密码。比如后面接root@主机名_202212就可以获得随机生成的密码。
> 可否给点实现的思路,谢谢!
>
> --
> -- You received this message because you are subscribed to the Google
> Groups Shanghai Linux User Group group. To post to this group, send email
> to shlug@googlegroups.com. To unsubscribe from this group, send email to
> shlug+unsubscr...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
> 要在网络上查看此讨论,请访问
> https://groups.google.com/d/msgid/shlug/CAP9hj2K90oOwvgtN9a%2B4zNR8xgK4Dgmw3159X7v9inAD_DUikQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/shlug/CAP9hj2K90oOwvgtN9a%2B4zNR8xgK4Dgmw3159X7v9inAD_DUikQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> 。
>

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
shlug@googlegroups.com. To unsubscribe from this group, send email to 
shlug+unsubscr...@googlegroups.com. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/CAK8d3PSMtE_PO3iSJ5ugtat_s9J5oPW_adrab607nqJeFEkJ1Q%40mail.gmail.com。

Reply via email to