Well, I'm trying to bring the script up myself again (HW guy trying to do SW stuf lolzz... yeah...)
I found that I can't get the PyCrypto package to work. Seems to have issues finding some VS install (tried several) and newer versions of Python (yes, also tried older ones). So I gave up on PyCrypto and use PyCryptoDome which should be close to compatible. At least it installs but when running
from Crypto.Cipher import ARC2
import struct
serial = 103086
serial2 = 2
option = 45
record = struct.pack("<II", serial, serial2 + (option <<20))
encyphered = ARC2.new("Revision\0").encrypt(record)
print encyphered.encode("hex")
I get
C:\Pyhton>python cmu.py
Traceback (most recent call last):
File "cmu.py", line 9, in <module>
encyphered = ARC2.new("Revision\0").encrypt(record)
TypeError: new() takes at least 2 arguments (1 given)
So, uhm, yeah... some help please?