encoding data in a way that it looks like keymash