Skip to content

Instantly share code, notes, and snippets.

@v3aqb
Created December 20, 2017 08:17
Show Gist options
  • Save v3aqb/040aad8b6cb9d2f0a8afba74bb28fe2c to your computer and use it in GitHub Desktop.
Save v3aqb/040aad8b6cb9d2f0a8afba74bb28fe2c to your computer and use it in GitHub Desktop.
shadowsocks 加密方式测速
tested on armv7 (Allwinner H3)
encrypt and decrypt 20MB data.
aes-128-cfb 1.64158s
aes-192-cfb 1.873407s
aes-256-cfb 2.10648s
camellia-128-cfb 1.918156s
camellia-192-cfb 2.379944s
camellia-256-cfb 2.378779s
chacha20-ietf 1.239553s
rc4-md5 0.754186s
(for hxsocks only)
aes-128-cfb-HMAC 2.260155s
aes-192-cfb-HMAC 2.750006s
aes-256-cfb-HMAC 3.453608s
camellia-128-cfb-HMAC 2.542765s
camellia-192-cfb-HMAC 3.254314s
camellia-256-cfb-HMAC 3.721276s
chacha20-ietf-HMAC 2.533231s
rc4-md5-HMAC 1.369026s
(without chunk size encrypt)
aes-128-gcm 2.913825s
aes-192-gcm 3.152422s
aes-256-gcm 3.380608s
chacha20-ietf-poly1305 1.626166s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment