调用OpenSSL,测试各加密算法的性能
Call OpenSSL to test the performance of each encryption algorithm
常用测试(仅测试AES-128-GCM、AES-256-GCM,Chacha20-IETF-Poly1305)
./openssl-speed-test
完整测试
./openssl-speed-test full
你他妈的想干嘛就干嘛公共许可证 v2
WTFPL v2
DO WHAT THE F*CK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE F*CK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE F*CK YOU WANT TO.