摘要 |
A method and an apparatus for storing and verifying a redeem code. The method comprises: generating a random value and determining an index for same according to the generation sequence thereof; generating a value pair according to the random value and the index of the random value, mapping the value pair into a character string, and generating a redeem code according to the character string; and determining storage location of the random value according to the index of the random value and storing the random value in the determined storage location. |