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

From YobiWiki
Jump to navigation Jump to search
m
m
Line 14: Line 14:
 
|-
 
|-
 
!
 
!
  +
!
!sage.crypto
 
 
!PyCrypto
 
!PyCrypto
 
!PyOpenSSL
 
!PyOpenSSL
Line 25: Line 25:
 
|-
 
|-
 
| Serpent || || || || || ||[http://psionicist.online.fr/code/]
 
| Serpent || || || || || ||[http://psionicist.online.fr/code/]
  +
|-
  +
| Blowfish || || || || || ||[http://www.4dsolutions.net/cgi-bin/py2html.cgi?script=/ocn/python/blowfish.py] [http://www.michaelgilfix.com/files/blowfish.py] [http://ivoras.sharanet.org/projects/blowfish.html]
 
|-
 
|-
 
| Twofish || || || || || ||[http://psionicist.online.fr/code/]
 
| Twofish || || || || || ||[http://psionicist.online.fr/code/]
Line 108: Line 110:
 
! align="left" colspan="8"|One-way Functions
 
! align="left" colspan="8"|One-way Functions
 
|-
 
|-
| MD5 || Py || C || || C || ||
+
| MD5 || Py || C || || C || ||[http://codespeak.net/svn/pypy/dist/pypy/lib/md5.py]
 
|-
 
|-
| SHA Family || Py || C (SHA-1 & 256)|| || C (only SHA1) || ||
+
| SHA Family || Py || C (SHA-1 & 256)|| || C (only SHA1) || ||[http://codespeak.net/svn/pypy/dist/pypy/lib/sha.py]
 
|-
 
|-
 
| Whirlpool || || || || || ||[http://psionicist.online.fr/code/]
 
| Whirlpool || || || || || ||[http://psionicist.online.fr/code/]

Revision as of 22:06, 25 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
PyCrypto PyOpenSSL M2Crypto TLS Lite
Block Ciphers
Block cipher algorithms
Serpent [1]
Blowfish [2] [3] [4]
Twofish [5]
Idea C C
DES C C [6]
3DES C C Py [7]
AES C C Py [8] [9]
Present
Modes of operation
CMAC
XCBC book*
CBC-MAC book*
CCM
GCM
ECB C* C
CBC C* C
CTR
LRW
XTS [10]
MDC-2
Paddings
bit padding
zeros
PKCS7 C
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 [11]
SHA Family Py C (SHA-1 & 256) C (only SHA1) [12]
Whirlpool [13]
RipeMD C C (ripemd-160) [14]
MDC-2
RadioGatun
Davies-Meyer
Matyas-Meyer-Oseas
Miyaguchi-Preneel
HMAC Py C*** Py
NMAC
KDF family
PBKDF2 C*** [15]
Public-key cryptography
Misc
ECC
all coordinate sys.
cf EFD
Other
RSA C** C (PKCS1) Py [16] [17]
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