[root@dhcp ~]# ll testfile
-rw-r--r-- 1 root root 12 Feb
20 15:36 testfile
[root@dhcp ~]# cat testfile
abcdefghijk
[root@dhcp ~]# openssl rsautl -in testfile -out
testfile.sign -inkey my.key -sign
Enter pass phrase for
my.key:
[root@dhcp ~]#
[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:40 testfile.sign
[root@dhcp
~]#
[root@dhcp ~]# cat testfile.sign
??t??PvF?-t?t′?^uì?lǔ;g++?cV(??T?:??oR???.????[root@dhcp ~]#
[root@dhcp ~]# file testfile.sign
testfile.sign:
data
[root@dhcp ~]#
阅读(390) | 评论(0) | 转发(0) |