Created
March 6, 2014 19:06
-
-
Save movEAX/a1c526a3bc3e5147bd27 to your computer and use it in GitHub Desktop.
demixer note
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
def demixer(iid, p): | |
return ''.join(re.findall(r'[\da-f]+',p)[::iid%1or-1])[::3] | |
if __name__ == '__main__': | |
print(demixer(291703670, 'b538f45188e082b038dad37e22466097861cef6sd4ff355e16dd279e973ddb1esce7adad83bb220e081s06fac1187c06a42')) | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment