working in ballot casting step, encryption part