Implemented crypto script