SageSage provides a level of abstraction of maths that sits on top of Python. Elliptic CurveHere are some examples:
ECDSAHere are some examples:
Homomorphic EncryptionHere are some examples:
Public Key (RSA and ElGamal)Here are some examples:
Key ExchangeHere are some examples:
Substitution box (S-box)Here are some examples:
Galois fieldsHere are some examples:
Examples with parametersHere are some examples where we pass values into the Sage script:
Installing SageSage is open source, and can be installed [here]: References[1] Johnson, D., Menezes, A., & Vanstone, S. (2001). The elliptic curve digital signature algorithm (ECDSA). International journal of information security, 1(1), 36–63 [here]. [2] Paillier, P. (1999, May). Public-key cryptosystems based on composite degree residuosity classes. In International conference on the theory and applications of cryptographic techniques (pp. 223-238). Springer, Berlin, Heidelberg [here]. |