Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1769669
  • 博文数量: 184
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 5566
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-08 12:32
文章存档

2011年(1)

2008年(183)

我的朋友

分类: LINUX

2008-03-08 11:57:00

[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 ~]#
阅读(1051) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~