We have a licencing server which generates keys using the Java TrueLicense library. I would like to move that code to a Python using the same algorithm so that the new keys will be equivalent with keys generated with the Java code. Perhaps it is possible to use PyCrypto for this. Does anyone know if this can be done without too much effort?
Asked
Active
Viewed 395 times
3 Answers
2
This is late, but for anyone else coming here with similar problems:
I have taken the time to read through the TrueLicense source and reimplement most of it in Ruby. Maybe that can help you reimplement it in Python if you wish:

einarmagnus
- 3,507
- 1
- 21
- 31
1
Maybe you can use jpype
JPype is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines.

John La Rooy
- 295,403
- 53
- 369
- 502