Create core_crypto.py

All crypto functions for padding EBC and CBC