[#8] Handles incorrect padding issue.
Merge pull request #10 from tomatohater/feature/incorrect-padding-error

[#8] Handles incorrect padding issue.