asmodehn / WkCocos

Cocos wrapping for quick wkcmake convention based builds.
4 stars 7 forks source link

Password generation callback #39

Closed asmodehn closed 10 years ago

asmodehn commented 10 years ago

At the moment the user password is generated from the userid by wkcocos code. This is not good because it makes hacking the user easier than it should be just by looking at wkcocos code.

Instead wkcocos should take a callback in the player parameter so that the client code ( the game ) can generate the password from the userid.

Also the local file saving the user id should be encrypted with a predefined key, so that retrieving the id is not trivial.

bvs23bkv33 commented 10 years ago

local encryption is already implemented by asmodehn in commit 3d046be