纯 Lua 编写的加密原语和协议:The Lua Lockbox
jopen
10年前
该项目包含一些纯 Lua 编写的加密原语和协议,包括:
Digests:
-
MD2
-
MD4
-
MD5
-
RIPEMD128
-
RIPEMD160
-
SHA1
-
SHA2-224
-
SHA2-256
Message Authentication Codes (MACs):
-
HMAC
Key Derivation Functions (KDFs):
-
PBKDF2
Block Ciphers:
-
DES
-
AES128
Block Cipher Modes:
-
ECB
-
CBC
-
PCBC
-
CFB
-
OFB
-
CTR
Block Cipher Padding:
-
Zero Padding
-
ANSI X.923 Padding
-
ISO/IEC 7816 Padding
-
PKCS7 Padding (PKCS5-Compatible)