Nov 24, 2020 02:28 AM
(This post was last modified: Nov 24, 2020 02:29 AM by Whocares12345.)
Hello, guys I'm having a small challenge at school,
Where I need to reverse an encryption function to find the decryption function..
Im originally a javascript developer so i find it a bit hard to understand whats going on here:
If anyone can help me reverse this or simply understand what's going on it will be greatly appreciated.
PS: this is only a small part of the encryption function where I'm stuck it's not the full function!
Where I need to reverse an encryption function to find the decryption function..
Im originally a javascript developer so i find it a bit hard to understand whats going on here:
Code
def GGGGotate(lol):
bit = lol << 1
movebit = bit & 255
if (lol > 127):
movebit = movebit | 1
return (movebit)If anyone can help me reverse this or simply understand what's going on it will be greatly appreciated.
PS: this is only a small part of the encryption function where I'm stuck it's not the full function!

