Difference between revisions of "Sage Cross Reference Table of Wishes and Availability"

From YobiWiki
Jump to navigation Jump to search
m
m
Line 40: Line 40:
 
| CMAC || || || || ||
 
| CMAC || || || || ||
 
|-
 
|-
| XCBC || || || || ||
+
| XCBC || || || || book* ||
 
|-
 
|-
| CBC-MAC || || || || ||
+
| CBC-MAC || || || || book* ||
 
|-
 
|-
 
| CCM || || || || ||
 
| CCM || || || || ||
Line 106: Line 106:
 
! align="left" colspan="8"|One-way Functions
 
! align="left" colspan="8"|One-way Functions
 
|-
 
|-
| MD5 || Py || P/R? || || ||
+
| MD5 || Py || P/R? || || C ||
 
|-
 
|-
| SHA Family || Py || P/R? (SHA-1 & 256)|| || ||
+
| SHA Family || Py || P/R? (SHA-1 & 256)|| || C (only SHA1) ||
 
|-
 
|-
 
| Whirlpool || || || || ||
 
| Whirlpool || || || || ||
 
|-
 
|-
| RipeMD || || P/R? || || ||
+
| RipeMD || || P/R? || || C (ripemd-160) ||
 
|-
 
|-
 
| MDC-2 || || || || ||
 
| MDC-2 || || || || ||
Line 180: Line 180:
 
/**Check if PKCS#1 v1.5/v2.1 and if CTR
 
/**Check if PKCS#1 v1.5/v2.1 and if CTR
 
/***See EVP.py
 
/***See EVP.py
  +
book*: C-code available in Oreilly's OpenSSL book

Revision as of 15:32, 22 July 2008

Back to SAGE & cryptology

Legend

  • P: production code, typically fast and not modifiable
  • R:
Sage optional packages other python packages
sage.crypto PyCrypto PyOpenSSL M2Crypto TLS Lite
Block Ciphers
Block cipher algorithms
Serpent
Twofish
Idea P C
DES P C
3DES P C Py
AES P C Py
Present
Modes of operation
CMAC
XCBC book*
CBC-MAC book*
CCM
GCM
ECB P* C
CBC P* C
CTR
LRW
XTS
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
RipeMD P/R? C (ripemd-160)
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