#include <stdint.h> #include <stdio.h> unsigned char* to_char_array(uint64_t in, unsigned char* buf) { for(int i = 0; i < 8; ++i) buf[i] = (in >> 8*i) & 0xFFu; return buf; } void output(unsigned char* key) { key[0],key[1],key[2],key[3],key[4],key[5],key[6],key[7]); } int main() { const uint64_t start = 0xFFFFFFFFFFFFFF0Fu; const uint64_t end = 0xFFFFFFFFFFFFFFFFu; unsigned char buf[8]; for(uint64_t x = start; x != end + 1; ++x) output(to_char_array(x, buf)); }
Standard input is empty
Current key: 0F FF FF FF FF FF FF FF Current key: 10 FF FF FF FF FF FF FF Current key: 11 FF FF FF FF FF FF FF Current key: 12 FF FF FF FF FF FF FF Current key: 13 FF FF FF FF FF FF FF Current key: 14 FF FF FF FF FF FF FF Current key: 15 FF FF FF FF FF FF FF Current key: 16 FF FF FF FF FF FF FF Current key: 17 FF FF FF FF FF FF FF Current key: 18 FF FF FF FF FF FF FF Current key: 19 FF FF FF FF FF FF FF Current key: 1A FF FF FF FF FF FF FF Current key: 1B FF FF FF FF FF FF FF Current key: 1C FF FF FF FF FF FF FF Current key: 1D FF FF FF FF FF FF FF Current key: 1E FF FF FF FF FF FF FF Current key: 1F FF FF FF FF FF FF FF Current key: 20 FF FF FF FF FF FF FF Current key: 21 FF FF FF FF FF FF FF Current key: 22 FF FF FF FF FF FF FF Current key: 23 FF FF FF FF FF FF FF Current key: 24 FF FF FF FF FF FF FF Current key: 25 FF FF FF FF FF FF FF Current key: 26 FF FF FF FF FF FF FF Current key: 27 FF FF FF FF FF FF FF Current key: 28 FF FF FF FF FF FF FF Current key: 29 FF FF FF FF FF FF FF Current key: 2A FF FF FF FF FF FF FF Current key: 2B FF FF FF FF FF FF FF Current key: 2C FF FF FF FF FF FF FF Current key: 2D FF FF FF FF FF FF FF Current key: 2E FF FF FF FF FF FF FF Current key: 2F FF FF FF FF FF FF FF Current key: 30 FF FF FF FF FF FF FF Current key: 31 FF FF FF FF FF FF FF Current key: 32 FF FF FF FF FF FF FF Current key: 33 FF FF FF FF FF FF FF Current key: 34 FF FF FF FF FF FF FF Current key: 35 FF FF FF FF FF FF FF Current key: 36 FF FF FF FF FF FF FF Current key: 37 FF FF FF FF FF FF FF Current key: 38 FF FF FF FF FF FF FF Current key: 39 FF FF FF FF FF FF FF Current key: 3A FF FF FF FF FF FF FF Current key: 3B FF FF FF FF FF FF FF Current key: 3C FF FF FF FF FF FF FF Current key: 3D FF FF FF FF FF FF FF Current key: 3E FF FF FF FF FF FF FF Current key: 3F FF FF FF FF FF FF FF Current key: 40 FF FF FF FF FF FF FF Current key: 41 FF FF FF FF FF FF FF Current key: 42 FF FF FF FF FF FF FF Current key: 43 FF FF FF FF FF FF FF Current key: 44 FF FF FF FF FF FF FF Current key: 45 FF FF FF FF FF FF FF Current key: 46 FF FF FF FF FF FF FF Current key: 47 FF FF FF FF FF FF FF Current key: 48 FF FF FF FF FF FF FF Current key: 49 FF FF FF FF FF FF FF Current key: 4A FF FF FF FF FF FF FF Current key: 4B FF FF FF FF FF FF FF Current key: 4C FF FF FF FF FF FF FF Current key: 4D FF FF FF FF FF FF FF Current key: 4E FF FF FF FF FF FF FF Current key: 4F FF FF FF FF FF FF FF Current key: 50 FF FF FF FF FF FF FF Current key: 51 FF FF FF FF FF FF FF Current key: 52 FF FF FF FF FF FF FF Current key: 53 FF FF FF FF FF FF FF Current key: 54 FF FF FF FF FF FF FF Current key: 55 FF FF FF FF FF FF FF Current key: 56 FF FF FF FF FF FF FF Current key: 57 FF FF FF FF FF FF FF Current key: 58 FF FF FF FF FF FF FF Current key: 59 FF FF FF FF FF FF FF Current key: 5A FF FF FF FF FF FF FF Current key: 5B FF FF FF FF FF FF FF Current key: 5C FF FF FF FF FF FF FF Current key: 5D FF FF FF FF FF FF FF Current key: 5E FF FF FF FF FF FF FF Current key: 5F FF FF FF FF FF FF FF Current key: 60 FF FF FF FF FF FF FF Current key: 61 FF FF FF FF FF FF FF Current key: 62 FF FF FF FF FF FF FF Current key: 63 FF FF FF FF FF FF FF Current key: 64 FF FF FF FF FF FF FF Current key: 65 FF FF FF FF FF FF FF Current key: 66 FF FF FF FF FF FF FF Current key: 67 FF FF FF FF FF FF FF Current key: 68 FF FF FF FF FF FF FF Current key: 69 FF FF FF FF FF FF FF Current key: 6A FF FF FF FF FF FF FF Current key: 6B FF FF FF FF FF FF FF Current key: 6C FF FF FF FF FF FF FF Current key: 6D FF FF FF FF FF FF FF Current key: 6E FF FF FF FF FF FF FF Current key: 6F FF FF FF FF FF FF FF Current key: 70 FF FF FF FF FF FF FF Current key: 71 FF FF FF FF FF FF FF Current key: 72 FF FF FF FF FF FF FF Current key: 73 FF FF FF FF FF FF FF Current key: 74 FF FF FF FF FF FF FF Current key: 75 FF FF FF FF FF FF FF Current key: 76 FF FF FF FF FF FF FF Current key: 77 FF FF FF FF FF FF FF Current key: 78 FF FF FF FF FF FF FF Current key: 79 FF FF FF FF FF FF FF Current key: 7A FF FF FF FF FF FF FF Current key: 7B FF FF FF FF FF FF FF Current key: 7C FF FF FF FF FF FF FF Current key: 7D FF FF FF FF FF FF FF Current key: 7E FF FF FF FF FF FF FF Current key: 7F FF FF FF FF FF FF FF Current key: 80 FF FF FF FF FF FF FF Current key: 81 FF FF FF FF FF FF FF Current key: 82 FF FF FF FF FF FF FF Current key: 83 FF FF FF FF FF FF FF Current key: 84 FF FF FF FF FF FF FF Current key: 85 FF FF FF FF FF FF FF Current key: 86 FF FF FF FF FF FF FF Current key: 87 FF FF FF FF FF FF FF Current key: 88 FF FF FF FF FF FF FF Current key: 89 FF FF FF FF FF FF FF Current key: 8A FF FF FF FF FF FF FF Current key: 8B FF FF FF FF FF FF FF Current key: 8C FF FF FF FF FF FF FF Current key: 8D FF FF FF FF FF FF FF Current key: 8E FF FF FF FF FF FF FF Current key: 8F FF FF FF FF FF FF FF Current key: 90 FF FF FF FF FF FF FF Current key: 91 FF FF FF FF FF FF FF Current key: 92 FF FF FF FF FF FF FF Current key: 93 FF FF FF FF FF FF FF Current key: 94 FF FF FF FF FF FF FF Current key: 95 FF FF FF FF FF FF FF Current key: 96 FF FF FF FF FF FF FF Current key: 97 FF FF FF FF FF FF FF Current key: 98 FF FF FF FF FF FF FF Current key: 99 FF FF FF FF FF FF FF Current key: 9A FF FF FF FF FF FF FF Current key: 9B FF FF FF FF FF FF FF Current key: 9C FF FF FF FF FF FF FF Current key: 9D FF FF FF FF FF FF FF Current key: 9E FF FF FF FF FF FF FF Current key: 9F FF FF FF FF FF FF FF Current key: A0 FF FF FF FF FF FF FF Current key: A1 FF FF FF FF FF FF FF Current key: A2 FF FF FF FF FF FF FF Current key: A3 FF FF FF FF FF FF FF Current key: A4 FF FF FF FF FF FF FF Current key: A5 FF FF FF FF FF FF FF Current key: A6 FF FF FF FF FF FF FF Current key: A7 FF FF FF FF FF FF FF Current key: A8 FF FF FF FF FF FF FF Current key: A9 FF FF FF FF FF FF FF Current key: AA FF FF FF FF FF FF FF Current key: AB FF FF FF FF FF FF FF Current key: AC FF FF FF FF FF FF FF Current key: AD FF FF FF FF FF FF FF Current key: AE FF FF FF FF FF FF FF Current key: AF FF FF FF FF FF FF FF Current key: B0 FF FF FF FF FF FF FF Current key: B1 FF FF FF FF FF FF FF Current key: B2 FF FF FF FF FF FF FF Current key: B3 FF FF FF FF FF FF FF Current key: B4 FF FF FF FF FF FF FF Current key: B5 FF FF FF FF FF FF FF Current key: B6 FF FF FF FF FF FF FF Current key: B7 FF FF FF FF FF FF FF Current key: B8 FF FF FF FF FF FF FF Current key: B9 FF FF FF FF FF FF FF Current key: BA FF FF FF FF FF FF FF Current key: BB FF FF FF FF FF FF FF Current key: BC FF FF FF FF FF FF FF Current key: BD FF FF FF FF FF FF FF Current key: BE FF FF FF FF FF FF FF Current key: BF FF FF FF FF FF FF FF Current key: C0 FF FF FF FF FF FF FF Current key: C1 FF FF FF FF FF FF FF Current key: C2 FF FF FF FF FF FF FF Current key: C3 FF FF FF FF FF FF FF Current key: C4 FF FF FF FF FF FF FF Current key: C5 FF FF FF FF FF FF FF Current key: C6 FF FF FF FF FF FF FF Current key: C7 FF FF FF FF FF FF FF Current key: C8 FF FF FF FF FF FF FF Current key: C9 FF FF FF FF FF FF FF Current key: CA FF FF FF FF FF FF FF Current key: CB FF FF FF FF FF FF FF Current key: CC FF FF FF FF FF FF FF Current key: CD FF FF FF FF FF FF FF Current key: CE FF FF FF FF FF FF FF Current key: CF FF FF FF FF FF FF FF Current key: D0 FF FF FF FF FF FF FF Current key: D1 FF FF FF FF FF FF FF Current key: D2 FF FF FF FF FF FF FF Current key: D3 FF FF FF FF FF FF FF Current key: D4 FF FF FF FF FF FF FF Current key: D5 FF FF FF FF FF FF FF Current key: D6 FF FF FF FF FF FF FF Current key: D7 FF FF FF FF FF FF FF Current key: D8 FF FF FF FF FF FF FF Current key: D9 FF FF FF FF FF FF FF Current key: DA FF FF FF FF FF FF FF Current key: DB FF FF FF FF FF FF FF Current key: DC FF FF FF FF FF FF FF Current key: DD FF FF FF FF FF FF FF Current key: DE FF FF FF FF FF FF FF Current key: DF FF FF FF FF FF FF FF Current key: E0 FF FF FF FF FF FF FF Current key: E1 FF FF FF FF FF FF FF Current key: E2 FF FF FF FF FF FF FF Current key: E3 FF FF FF FF FF FF FF Current key: E4 FF FF FF FF FF FF FF Current key: E5 FF FF FF FF FF FF FF Current key: E6 FF FF FF FF FF FF FF Current key: E7 FF FF FF FF FF FF FF Current key: E8 FF FF FF FF FF FF FF Current key: E9 FF FF FF FF FF FF FF Current key: EA FF FF FF FF FF FF FF Current key: EB FF FF FF FF FF FF FF Current key: EC FF FF FF FF FF FF FF Current key: ED FF FF FF FF FF FF FF Current key: EE FF FF FF FF FF FF FF Current key: EF FF FF FF FF FF FF FF Current key: F0 FF FF FF FF FF FF FF Current key: F1 FF FF FF FF FF FF FF Current key: F2 FF FF FF FF FF FF FF Current key: F3 FF FF FF FF FF FF FF Current key: F4 FF FF FF FF FF FF FF Current key: F5 FF FF FF FF FF FF FF Current key: F6 FF FF FF FF FF FF FF Current key: F7 FF FF FF FF FF FF FF Current key: F8 FF FF FF FF FF FF FF Current key: F9 FF FF FF FF FF FF FF Current key: FA FF FF FF FF FF FF FF Current key: FB FF FF FF FF FF FF FF Current key: FC FF FF FF FF FF FF FF Current key: FD FF FF FF FF FF FF FF Current key: FE FF FF FF FF FF FF FF Current key: FF FF FF FF FF FF FF FF