Fixed case when key is longer than 20 characters
Reformated sprintf usage and removed gitignore file
Merge pull request #113 from xavismeh/master

Fixed case when key is longer than 20 characters