# String scrambling/unscrambling alogo help

**URL:** <https://forum.kirupa.com/t/string-scrambling-unscrambling-alogo-help/325312>\
**Category:** Uncategorized\
**Created:** [October 9, 2011, 9:14am UTC](https://forum.kirupa.com/t/string-scrambling-unscrambling-alogo-help/325312 "2011-10-09T09:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reppinfreedom](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Post date:** [October 9, 2011, 9:14am UTC](https://forum.kirupa.com/t/string-scrambling-unscrambling-alogo-help/325312/1 "2011-10-09T09:14:12Z")

</div>

I have a question how it would be best to do this, and if anyone knows of any examples.

I want to scramble strings inside some arrays in my game client because I don’t want players to see what secret items there are by decompiling. All data is stored and controlled server-side, however the client does have the lists of items stored in arrays.

My current idea would be to pass a key to the client to unscramble the game data on login. It could still be decoded by a programmer… But at least it would delay players finding out about certain new secret items.

I am not interested in loading any of this data out of mysql, even with memcached the increase in server load would be unacceptable.
