Fixed the length of the key if the length of the key is 26, 24 or 5.
Merge pull request #19 from rckoenes/master

encryption key length fixed