2024年5月15日

摘要: md5-sha1-哈希算法使用方法 常见的哈希算法有:MD5 和 SHA1 MD5 ,SHA1 的区别: MD5的全称是Message-Digest Algorithm 5(信息-摘要算法)。MD5 算法的哈希值大小为 128 位。是一种不可逆的算法。 SHA1的全称是Secure Hash Alg 阅读全文
posted @ 2024-05-15 16:08 lzjasd 阅读(7) 评论(0) 推荐(0) 编辑
 
摘要: Linux 中使普通用户使用Sudo不需要输入密码 [root@hcss-ecs-c16f ~]# useradd lzj [root@hcss-ecs-c16f ~]# echo 1234|passwd --stdin lzj 更改用户 lzj 的密码 。 passwd:所有的身份验证令牌已经成功 阅读全文
posted @ 2024-05-15 08:54 lzjasd 阅读(18) 评论(0) 推荐(0) 编辑
 
摘要: 加密 openssl enc -e -des3 -a -in /etc/passwd -out /passwd.des3 解密 openssl enc -d -des3 -a -in /passwd.des3 -out /root/passwd options are -in <file> inpu 阅读全文
posted @ 2024-05-15 05:41 lzjasd 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: [root@hcss-ecs-c16f ~]# gpg --list-key /root/.gnupg/pubring.gpg pub 2048R/0DE16E33 2024-05-14 uid lzj12 (lzj12) <l@163.com> sub 2048R/56D087AB 2024-05 阅读全文
posted @ 2024-05-15 05:31 lzjasd 阅读(5) 评论(0) 推荐(0) 编辑
 
摘要: [root@hcss-ecs-c16f ~]# gpg --gen-key gpg (GnuPG) 2.0.22; Copyright (C) 2013 Free Software Foundation, Inc. This is free software: you are free to cha 阅读全文
posted @ 2024-05-15 05:28 lzjasd 阅读(18) 评论(0) 推荐(0) 编辑