This repository contains a bunch of various crypto-related algorithms implemented in Python 2 and SageMath. Pure Python code is located in cryptools.py package and can be imported from python code.