add crypto support for cocos2d-x