$ time tar cf tux.tar tux/
real 23m45.672s
user 0m4.290s
sys 0m52.546s
$ time openssl enc -e -des3 -salt -in tux.tar -out tux.090713.enc
enter des-ede3-cbc encryption password:
Verifying - enter des-ede3-cbc encryption password:
real 22m13.738s
user 8m20.402s
sys 0m55.287s
第二种方法,把打包和加密进程交织进行,共用时25分钟:
$ time tar cf - tux/ | openssl enc -e -des3 -salt -out tux.090713.enc-again
enter des-ede3-cbc encryption password:
Verifying - enter des-ede3-cbc encryption password:
real 24m56.357s
user 8m26.497s
sys 1m12.961s
没有评论:
发表评论