rc4-cipher

Convert python long/int to fixed size byte array

Convert python long/int to fixed size byte array Question: I’m trying to implement RC4 and DH key exchange in python. Problem is that I have no idea about how to convert the python long/int from the key exchange to the byte array I need for the RC4 implementation. Is there a simple way to convert …

Total answers: 10