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

From YobiWiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
   
 
'''Legend'''
 
'''Legend'''
  +
* C: wrapped C code
* P: production code, typically fast and not modifiable
 
  +
* Py: pure python code
* R:
 
  +
* Sage: sage code
   
 
{|border="1"
 
{|border="1"
Line 27: Line 28:
 
| Twofish || || || || || ||[http://psionicist.online.fr/code/]
 
| Twofish || || || || || ||[http://psionicist.online.fr/code/]
 
|-
 
|-
| Idea || || P || || C || ||
+
| Idea || || C || || C || ||
 
|-
 
|-
| DES || || P || || C || ||[http://twhiteman.netfirms.com/des.html]
+
| DES || || C || || C || ||[http://twhiteman.netfirms.com/des.html]
 
|-
 
|-
| 3DES || || P || || C || Py ||[http://twhiteman.netfirms.com/des.html]
+
| 3DES || || C || || C || Py ||[http://twhiteman.netfirms.com/des.html]
 
|-
 
|-
| AES || || P || || C || Py ||[http://psionicist.online.fr/code/] [http://jclement.ca/software/pyrijndael/]
+
| AES || || C || || C || Py ||[http://psionicist.online.fr/code/] [http://jclement.ca/software/pyrijndael/]
 
|-
 
|-
 
| Present || || || || || ||
 
| Present || || || || || ||
Line 49: Line 50:
 
| GCM || || || || || ||
 
| GCM || || || || || ||
 
|-
 
|-
| ECB || || P* || || C || ||
+
| ECB || || C* || || C || ||
 
|-
 
|-
| CBC || || P* || || C || ||
+
| CBC || || C* || || C || ||
 
|-
 
|-
 
| CTR || || || || || ||
 
| CTR || || || || || ||
Line 107: Line 108:
 
! align="left" colspan="8"|One-way Functions
 
! align="left" colspan="8"|One-way Functions
 
|-
 
|-
| MD5 || Py || P/R? || || C || ||
+
| MD5 || Py || C || || C || ||
 
|-
 
|-
| SHA Family || Py || P/R? (SHA-1 & 256)|| || C (only SHA1) || ||
+
| SHA Family || Py || C (SHA-1 & 256)|| || C (only SHA1) || ||
 
|-
 
|-
 
| Whirlpool || || || || || ||[http://psionicist.online.fr/code/]
 
| Whirlpool || || || || || ||[http://psionicist.online.fr/code/]
 
|-
 
|-
| RipeMD || || P/R? || || C (ripemd-160) || ||[http://psionicist.online.fr/code/]
+
| RipeMD || || C || || C (ripemd-160) || ||[http://psionicist.online.fr/code/]
 
|-
 
|-
 
| MDC-2 || || || || || ||
 
| MDC-2 || || || || || ||

Revision as of 14:51, 24 July 2008

Back to SAGE & cryptology

Legend

  • C: wrapped C code
  • Py: pure python code
  • Sage: sage code
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 C C
DES C C [3]
3DES C C Py [4]
AES C C Py [5] [6]
Present
Modes of operation
CMAC
XCBC book*
CBC-MAC book*
CCM
GCM
ECB C* C
CBC C* C
CTR
LRW
XTS [7]
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 C C
SHA Family Py C (SHA-1 & 256) C (only SHA1)
Whirlpool [8]
RipeMD C C (ripemd-160) [9]
MDC-2
RadioGatun
Davies-Meyer
Matyas-Meyer-Oseas
Miyaguchi-Preneel
HMAC Py C*** Py
NMAC
KDF family
PBKDF2 C*** [10]
Public-key cryptography
Misc
ECC
all coordinate sys.
cf EFD
Other
RSA C** C (PKCS1) Py [11] [12]
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