Fix of printing error message for too short key.
Add powm module.