Sage Cross Reference Table of Wishes and Availability
Revision as of 13:45, 24 July 2008 by <bdi>Tiftof</bdi> (talk | contribs) (added "python code available" column)
Back to SAGE & cryptology
Legend
- P: production code, typically fast and not modifiable
- R:
Sage | optional packages | other python packages | python code available | ||||
---|---|---|---|---|---|---|---|
sage.crypto | PyCrypto | PyOpenSSL | M2Crypto | TLS Lite | |||
Block Ciphers | |||||||
Block cipher algorithms | |||||||
Serpent | [1] | ||||||
Twofish | [2] | ||||||
Idea | P | C | |||||
DES | P | C | |||||
3DES | P | C | Py | ||||
AES | P | C | Py | [3] | |||
Present | |||||||
Modes of operation | |||||||
CMAC | |||||||
XCBC | book* | ||||||
CBC-MAC | book* | ||||||
CCM | |||||||
GCM | |||||||
ECB | P* | C | |||||
CBC | P* | C | |||||
CTR | |||||||
LRW | |||||||
XTS | [4] | ||||||
MDC-2 | |||||||
Paddings | |||||||
bit padding | |||||||
zeros | |||||||
PKCS7 | |||||||
PKCS12 | |||||||
ISO 10126 | |||||||
ANSI X.923 | |||||||
Stream Ciphers | |||||||
RC4 | C | C | Py | ||||
A5/1 A5/2 | |||||||
SNOW2 SNOW3G | |||||||
HC-128 | |||||||
RABBIT | |||||||
Salsa 20/12 | |||||||
SOSEMANUK | |||||||
F-FCSR | |||||||
Grain | |||||||
MICKEY | |||||||
Trivium | |||||||
LFSR | Sage | ||||||
Shrinking generator | Sage | ||||||
Self-Shrinking generator | |||||||
One-way Functions | |||||||
MD5 | Py | P/R? | C | ||||
SHA Family | Py | P/R? (SHA-1 & 256) | C (only SHA1) | ||||
Whirlpool | [5] | ||||||
RipeMD | P/R? | C (ripemd-160) | [6] | ||||
MDC-2 | |||||||
RadioGatun | |||||||
Davies-Meyer | |||||||
Matyas-Meyer-Oseas | |||||||
Miyaguchi-Preneel | |||||||
HMAC | Py | C*** | Py | ||||
NMAC | |||||||
KDF family | |||||||
PBKDF2 | C*** | ||||||
Public-key cryptography | |||||||
Misc | |||||||
ECC | |||||||
all coordinate sys. | |||||||
cf EFD | |||||||
Other | |||||||
RSA | C** | C (PKCS1) | Py | ||||
DSA | C | C | |||||
ElGamal | C | ||||||
DH | C | ||||||
XTR | |||||||
Paillier | |||||||
NTRUE | |||||||
Pseudo-random generators | |||||||
cf NIST | |||||||
Mersenne Twister | Py | ||||||
Cryptanalysis tools | |||||||
/*CBC and ECB in PyCrypto are integrated into the cipher algorithmes and are coupled to encryption/decryption status
/**Check if PKCS#1 v1.5/v2.1 and if CTR
/***See EVP.py
book*: C-code available in Oreilly's OpenSSL book