Fix pycrypt support

Some errors came up when running the tests:

1. int to long conversion

2. numberToString/stringToNumber conversion function do not longer exists

3. Values from crypt/decrypt seem to return numbers no strings/arrays