A few crypto algorithms in Python