'Des'에 해당되는 글 1건
[openssl] command line sample[openssl] command line sample
Posted at 2012. 9. 16. 13:41 | Posted in 개발이야기DES encript/descript
$ openssl enc -e -des -in aaa.c -out bbb.pem
$ openssl enc -d -des -in bbb.pem -out 111.c
$ diff aaa.c 111.c
Base64 encript/descript
$ openssl enc -e -base64 -in aaa.c -out bbb.b64
$ openssl enc -d -base64 -in bbb.b64 -out 111.c
$ diff aaa.c 111.c
DES+Base64 encript/descrip
$ openssl enc -e -des -base64 -in aaa.c -out bbb.pem
$ openssl enc -d -base64 -des -in bbb.pem -out 111.c
$ diff aaa.c 111.c