Skip to content

Instantly share code, notes, and snippets.

@pawlos
Created November 19, 2020 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawlos/1bd48565125e02dcc0a37848ae54190d to your computer and use it in GitHub Desktop.
Save pawlos/1bd48565125e02dcc0a37848ae54190d to your computer and use it in GitHub Desktop.
F_L = "9655B040B64667238524D15D6201.B95D4E01C55CC562C7557405A532D768C55FA12DD074DC697A06E172992CAF3F8A5C7306B7476B38.C555AC40A7469C234424.853FA85C470699477D3851249A4B9C4E.A855AF40B84695239D24895D2101D05CCA62BE5578055232D568C05F902DDC74D2697406D7724C2CA83FCF5C2606B547A73898246B4BC14E941F9121D464D263B947EB77D36E7F1B8254.853FA85C470699477D3851249A4B9C4E.9A55B240B84692239624.CC55A940B44690238B24CA5D7501CF5C9C62B15561056032C468D15F9C2DE374DD696206B572752C8C3FB25C3806.A8558540924668236724B15D2101AA5CC362C2556A055232AE68B15F7C2DC17489695D06DB729A2C723F8E5C65069747AA389324AE4BB34E921F9421.CB55A240B5469B23.AC559340A94695238D24CD5D75018A5CB062BA557905A932D768D15F982D.D074B6696F06D5729E2CAE3FCF5C7506AD47AC388024C14B7C4E8F1F8F21CB64"
onzo = F_L.split(".")
#rigmarole(onzo(7))
def rigmarole(es):
furphy = ""
c = 0
s = ""
cc = 0
for i in range(0,len(es),4):
c = int(es[i:i+2],16)
s = int(es[i+2:i+4],16)
cc = c - s
furphy += chr(cc)
return furphy
for i in range(len(onzo)):
print(rigmarole(onzo[i]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment