adding supporty for keyEncoding
Merge pull request #6 from soldair/support-for-key-encoding

adding supporty for keyEncoding