Improve decrypt method
Prevent unsuported case.