Improved: First version of the crypto