c++ - How can I obfuscate/de-obfuscate integer properties? -


my users in cases able view web version of database table stores data they've entered. various reasons need include stored data, including number of integer flags each record encapsulate adjacencies , forth within data (this speed , convenience @ runtime). rather exposing them one-for-one in webview, i'd have obfuscated field that's called "reserved" , contains single unintelligible string representing flags can encode , decode.

how can efficiently in c++/objective c?

thanks!

why not convert each of fields hex, , append them string , save value?

as long append strings in same order, breaking them apart , converting them numbers should trivial.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -