Sage Cross Reference Table of Wishes and Availability: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
added "python code available" column |
||
| Line 10: | Line 10: | ||
! colspan="2"|optional packages |
! colspan="2"|optional packages |
||
! colspan="2"|other python packages |
! colspan="2"|other python packages |
||
! rowspan="2"|python code<br>available |
|||
|- |
|- |
||
! |
! |
||
| Line 22: | Line 23: | ||
| align="left" colspan="8"|Block cipher algorithms |
| align="left" colspan="8"|Block cipher algorithms |
||
|- |
|- |
||
| Serpent || || || || || |
| Serpent || || || || || ||[http://psionicist.online.fr/code/] |
||
|- |
|- |
||
| Twofish || || || || || |
| Twofish || || || || || ||[http://psionicist.online.fr/code/] |
||
|- |
|- |
||
| Idea || || P || || C || |
| Idea || || P || || C || || |
||
|- |
|- |
||
| DES || || P || || C || |
| DES || || P || || C || || |
||
|- |
|- |
||
| 3DES || || P || || C || Py |
| 3DES || || P || || C || Py || |
||
|- |
|- |
||
| AES || || P || || C || Py |
| AES || || P || || C || Py ||[http://psionicist.online.fr/code/] |
||
|- |
|- |
||
| Present || || || || || |
| Present || || || || || || |
||
|- style="background-color:#eeeeee;" |
|- style="background-color:#eeeeee;" |
||
| align="left" colspan="8"|Modes of operation |
| align="left" colspan="8"|Modes of operation |
||
|- |
|- |
||
| CMAC || || || || || |
| CMAC || || || || || || |
||
|- |
|- |
||
| XCBC || || || || book* || |
| XCBC || || || || book* || || |
||
|- |
|- |
||
| CBC-MAC || || || || book* || |
| CBC-MAC || || || || book* || || |
||
|- |
|- |
||
| CCM || || || || || |
| CCM || || || || || || |
||
|- |
|- |
||
| GCM || || || || || |
| GCM || || || || || || |
||
|- |
|- |
||
| ECB || || P* || || C || |
| ECB || || P* || || C || || |
||
|- |
|- |
||
| CBC || || P* || || C || |
| CBC || || P* || || C || || |
||
|- |
|- |
||
| CTR || || || || || |
| CTR || || || || || || |
||
|- |
|- |
||
| LRW || || || || || |
| LRW || || || || || || |
||
|- |
|- |
||
| XTS || || || || || |
| XTS || || || || || ||[http://psionicist.online.fr/code/pytruecrypt/] |
||
|- |
|- |
||
| MDC-2 || || || || || |
| MDC-2 || || || || || || |
||
|- style="background-color:#eeeeee;" |
|- style="background-color:#eeeeee;" |
||
| align="left" colspan="8"|Paddings |
| align="left" colspan="8"|Paddings |
||
|- |
|- |
||
| bit padding || || || || || |
| bit padding || || || || || || |
||
|- |
|- |
||
| zeros || || || || || |
| zeros || || || || || || |
||
|- |
|- |
||
| PKCS7 || || || || || |
| PKCS7 || || || || || || |
||
|- |
|- |
||
| PKCS12 || || || || || |
| PKCS12 || || || || || || |
||
|- |
|- |
||
| ISO 10126 || || || || || |
| ISO 10126 || || || || || || |
||
|- |
|- |
||
| ANSI X.923 || || || || || |
| ANSI X.923 || || || || || || |
||
|- style="background-color:#dddddd;" |
|- style="background-color:#dddddd;" |
||
! align="left" colspan="8"|Stream Ciphers |
! align="left" colspan="8"|Stream Ciphers |
||
|- |
|- |
||
| RC4 || || C || || C || Py |
| RC4 || || C || || C || Py || |
||
|- |
|- |
||
| A5/1 A5/2 || || || || || |
| A5/1 A5/2 || || || || || || |
||
|- |
|- |
||
| SNOW2 SNOW3G || || || || || |
| SNOW2 SNOW3G || || || || || || |
||
|- |
|- |
||
| HC-128 || || || || || |
| HC-128 || || || || || || |
||
|- |
|- |
||
| RABBIT || || || || || |
| RABBIT || || || || || || |
||
|- |
|- |
||
| Salsa 20/12 || || || || || |
| Salsa 20/12 || || || || || || |
||
|- |
|- |
||
| SOSEMANUK || || || || || |
| SOSEMANUK || || || || || || |
||
|- |
|- |
||
| F-FCSR || || || || || |
| F-FCSR || || || || || || |
||
|- |
|- |
||
| Grain || || || || || |
| Grain || || || || || || |
||
|- |
|- |
||
| MICKEY || || || || || |
| MICKEY || || || || || || |
||
|- |
|- |
||
| Trivium || || || || || |
| Trivium || || || || || || |
||
|- |
|- |
||
| LFSR || Sage || || || || |
| LFSR || Sage || || || || || |
||
|- |
|- |
||
| Shrinking generator|| Sage || || || || |
| Shrinking generator|| Sage || || || || || |
||
|- |
|- |
||
| Self-Shrinking generator|| || || || || |
| Self-Shrinking generator|| || || || || || |
||
|- style="background-color:#dddddd;" |
|- style="background-color:#dddddd;" |
||
! align="left" colspan="8"|One-way Functions |
! align="left" colspan="8"|One-way Functions |
||
|- |
|- |
||
| MD5 || Py || P/R? || || C || |
| MD5 || Py || P/R? || || C || || |
||
|- |
|- |
||
| SHA Family || Py || P/R? (SHA-1 & 256)|| || C (only SHA1) || |
| SHA Family || Py || P/R? (SHA-1 & 256)|| || C (only SHA1) || || |
||
|- |
|- |
||
| Whirlpool || || || || || |
| Whirlpool || || || || || ||[http://psionicist.online.fr/code/] |
||
|- |
|- |
||
| RipeMD || || P/R? || || C (ripemd-160) || |
| RipeMD || || P/R? || || C (ripemd-160) || ||[http://psionicist.online.fr/code/] |
||
|- |
|- |
||
| MDC-2 || || || || || |
| MDC-2 || || || || || || |
||
|- |
|- |
||
| RadioGatun || || || || || |
| RadioGatun || || || || || || |
||
|- |
|- |
||
| Davies-Meyer || || || || || |
| Davies-Meyer || || || || || || |
||
|- |
|- |
||
| Matyas-Meyer-Oseas || || || || || |
| Matyas-Meyer-Oseas || || || || || || |
||
|- |
|- |
||
| Miyaguchi-Preneel || || || || || |
| Miyaguchi-Preneel || || || || || || |
||
|- |
|- |
||
| HMAC || Py || || || C*** || Py |
| HMAC || Py || || || C*** || Py || |
||
|- |
|- |
||
| NMAC || || || || || |
| NMAC || || || || || || |
||
|- |
|- |
||
| KDF family || || || || || |
| KDF family || || || || || || |
||
|- |
|- |
||
| PBKDF2 || || || || C*** || |
| PBKDF2 || || || || C*** || || |
||
|- style="background-color:#dddddd;" |
|- style="background-color:#dddddd;" |
||
! align="left" colspan="8"|Public-key cryptography |
! align="left" colspan="8"|Public-key cryptography |
||
|- |
|- |
||
| Misc || || || || || |
| Misc || || || || || || |
||
|- style="background-color:#eeeeee;" |
|- style="background-color:#eeeeee;" |
||
| align="left" colspan="8"|ECC |
| align="left" colspan="8"|ECC |
||
|- |
|- |
||
| all coordinate sys. || || || || || |
| all coordinate sys. || || || || || || |
||
|- |
|- |
||
|cf [http://www.hyperelliptic.org/EFD/ EFD] || || || || || |
|cf [http://www.hyperelliptic.org/EFD/ EFD] || || || || || || |
||
|- style="background-color:#eeeeee;" |
|- style="background-color:#eeeeee;" |
||
| align="left" colspan="8"|Other |
| align="left" colspan="8"|Other |
||
|- |
|- |
||
| RSA || || C** || || C (PKCS1) || Py |
| RSA || || C** || || C (PKCS1) || Py || |
||
|- |
|- |
||
| DSA || || C || || C || |
| DSA || || C || || C || || |
||
|- |
|- |
||
| ElGamal || || C || || || |
| ElGamal || || C || || || || |
||
|- |
|- |
||
| DH || || || || C || |
| DH || || || || C || || |
||
|- |
|- |
||
| XTR || || || || || |
| XTR || || || || || || |
||
|- |
|- |
||
| Paillier || || || || || |
| Paillier || || || || || || |
||
|- |
|- |
||
| NTRUE || || || || || |
| NTRUE || || || || || || |
||
|- style="background-color:#dddddd;" |
|- style="background-color:#dddddd;" |
||
! align="left" colspan="8"|Pseudo-random generators |
! align="left" colspan="8"|Pseudo-random generators |
||
|- |
|- |
||
| cf NIST || || || || || |
| cf NIST || || || || || || |
||
|- |
|- |
||
| Mersenne Twister || Py || || || || |
| Mersenne Twister || Py || || || || || |
||
|- |
|- |
||
| || || || || || |
| || || || || || || |
||
|- style="background-color:#dddddd;" |
|- style="background-color:#dddddd;" |
||
! align="left" colspan="8"|Cryptanalysis tools |
! align="left" colspan="8"|Cryptanalysis tools |
||
|- |
|- |
||
| || || || || || |
| || || || || || || |
||
|- |
|- |
||
| || || || || || |
| || || || || || || |
||
|- |
|- |
||
| || || || || || |
| || || || || || || |
||
|- |
|- |
||
| || || || || || |
| || || || || || || |
||
|} |
|} |
||
Revision as of 12:45, 24 July 2008
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