Is there no module for that in python? It seems so weird that this has to be done step by step
@bobbysue5176 жыл бұрын
how do you do the print statement in python 3?
@bobbysue5176 жыл бұрын
i finally got it to work but i imagine there is a better way. I added the following code. I just could not get it to work on one line. byt = (hex(m)[2:]) x = bytes.fromhex(byt).decode('utf-8') print(x)
@temingtiong80716 жыл бұрын
Hey guys. I have 1 question about the calculation of h. Can anyone explain to me why we do not need to include the mod p in the calculation of h ?
@PanicAtTehCisco6 жыл бұрын
It might be that the resulting h is smaller than p, so taking its modulus would return the same number.