new crypto_util module.

moved static crypto functions from CryptoTransportLayer here for future reusability.
load_crypto_details functions also moved here, could be deleted, unused in the project.