Chinaunix首页 | 论坛 | 博客
  • 博客访问: 542230
  • 博文数量: 375
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-20 10:21
文章分类

全部博文(375)

文章存档

2015年(1)

2014年(374)

分类: LINUX

2014-08-18 13:36:20

[root@dhcp ~]# openssl rsautl -in testfile  -out testfile.encrypt -inkey my.key -encrypt   
Enter pass phrase for my.key:
[root@dhcp ~]# ll testfile*
-rw-r--r--  1 root root  12 Feb 20 15:36 testfile
-rw-r--r--  1 root root 128 Feb 20 15:41 testfile.encrypt
-rw-r--r--  1 root root 128 Feb 20 15:40 testfile.sign
[root@dhcp ~]#
[root@dhcp ~]# cat testfile.encrypt
        .s?ve-9鲥_y????bwl?±Й?W4???;?Go?£:M????1u?a$?-G¨·l??KF?Uo??5?B`
                                                                                   ?L?
у????R?°?B[root@dhcp ~]#
阅读(255) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~