bug fix
Merge https://github.com/notEvil/encprim