Fixes encrypt()

Bugfix: _alg34 and _alg35 are expecting ByteStringObject, not str as id.._entry argument.