Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created December 11, 2017 21:30
Show Gist options
  • Save jacobmischka/b46f73ca6f2deabc93624e409cf11cec to your computer and use it in GitHub Desktop.
Save jacobmischka/b46f73ca6f2deabc93624e409cf11cec to your computer and use it in GitHub Desktop.

Input string: 1,2,3

Lengths after parsing and adding 5 elements: [ 49, 44, 50, 44, 51, 17, 31, 73, 47, 23 ]

List after 64 loops:

[
  5, 11, 95, 62, 101, 8, 254, 63, 51, 197, 155, 31, 164, 190, 147, 6, 171, 98, 19, 20, 75, 159, 194, 207, 249, 91, 225, 78, 145, 230, 118, 224, 83, 87, 58, 244, 124, 241, 131, 201, 7, 114, 240, 204, 66, 47, 50, 252, 203, 213, 137, 127, 44, 165, 104, 234, 18, 25, 116, 173, 121, 209, 153, 138, 239, 13, 55, 157, 70, 189, 89, 196, 136, 243, 237, 210, 250, 246, 208, 59, 211, 215, 80, 40, 72, 135, 32, 54, 61, 21, 16, 238, 38, 77, 34, 184, 28, 160, 15, 181, 228, 103, 81, 229, 96, 37, 12, 217, 221, 36, 65, 235, 123, 109, 175, 187, 199, 198, 57, 113, 64, 0, 185, 1, 166, 152, 233, 253, 119, 67, 43, 143, 86, 191, 227, 149, 126, 105, 76, 146, 242, 120, 169, 156, 216, 162, 24, 219, 193, 129, 94, 48, 49, 10, 35, 82, 79, 174, 41, 22, 202, 108, 30, 115, 150, 154, 17, 88, 60, 26, 205, 148, 179, 128, 245, 45, 251, 142, 74, 102, 206, 182, 100, 3, 106, 56, 23, 99, 90, 222, 2, 172, 73, 158, 92, 161, 42, 93, 178, 141, 226, 200, 9, 33, 183, 180, 71, 132, 220, 236, 188, 14, 195, 134, 192, 111, 168, 186, 122, 110, 69, 177, 212, 255, 112, 27, 163, 218, 125, 130, 133, 248, 139, 4, 167, 84, 117, 68, 144, 39, 214, 151, 170, 140, 85, 231, 29, 97, 46, 247, 52, 176, 53, 107, 232, 223
]

The dense hash after xoring: [ 62, 251, 231, 138, 141, 130, 242, 153, 121, 3, 26, 74, 160, 177, 106, 157 ]

Result: 3efbe78a8d82f2997931a4aa0b16a9d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment