fix/encrypt, decrypt exceed range conversion