| Number | Charging mode |
| 0 | Normal charging, no encryption |
| 1 | Replay the attack and try to defend it with RSA digital signatures |
| 2 | Use random numbers to defend replay attacks |
| Other numbers | Exit this program |