Setting limit for encryption key. Fixes #23

Setting limit for encryption key. Fixes #23