Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
* This is a random bit table.
*
* The quality of the hash may be improved by increasing the size of
* the table. The table content may be changed, rearranged, etc if
* problems are encountered with any particular class of inputs.
* See the referenced paper for theory. If the table is large enough,
* (and the input bytes are multiplied by 4 as described in the code)
* NO possible other algorithm can produce a higher quality hash.
*
* This particular table was arbitrarily assembled from "A table of
* 14,000 Random Units" in the "CRC Standard Mathematical Tables".
* It has not yet been tested for randomness.
*
TABLE DS 0D
DC B'11111101011111010110100000010101' 01
DC B'01100110010101000000100000000010' 02
DC B'01011011001110111101011101110011' 03
DC B'10011000010111100001010000100001' 04
DC B'00001011001100100100001011110000' 05
DC B'00111100101100110111101100101101' 06
DC B'11001101010011111110000000111110' 07
DC B'01011101100110001110011011111111' 08
DC B'10111101000001100110010110111110' 09
DC B'00110101001000000100110101011000' 10
DC B'10011000100011111001101101000000' 11
DC B'01010011000111110101110001110100' 12
DC B'11010100000011100001100000101111' 13
DC B'00100111100001001000110011110111' 14
DC B'00111100011000111101001100011100' 15
DC B'01000010110010001010000010000101' 16
DC B'10101110010110010000010000111101' 17
DC B'01010000011010100000001101010100' 18
DC B'00000000001000000110100000100010' 19
DC B'10101011001001010100010100011110' 20
DC B'00101011110110111101011101011110' 21
DC B'00010110001011010110100001100111' 22
DC B'00101010111001100011111100011010' 23
DC B'00101000110111101100100110110011' 24
DC B'01100001100100010110000010010000' 25
DC B'11101001011011110111101110011010' 26
DC B'01101110110111110111001110100101' 27
DC B'01110001011000111111100000000101' 28
DC B'11111010001000110001110001110110' 29
DC B'11100100101110111110011110111011' 30
DC B'00000011010000011000101001100010' 31
DC B'01011011010001111110011101011001' 32
DC B'01101100101101110010111011001001' 33
DC B'00001011100100010000010001000111' 34
DC B'10011101101000110100001111010010' 35
DC B'11001111000001001101110111011001' 36
DC B'10101110000111011100011110101100' 37
DC B'10101001110011101001111100010111' 38
DC B'11100110110000100000100001111110' 39
DC B'00010100000111010011110010001100' 40
DC B'01010100111010000110110110101000' 41
DC B'00010010001010101000100001010101' 42
DC B'01000010010000000100101001111100' 43
DC B'10001010101111101010011110001001' 44
DC B'00100100011011100100010000101110' 45
DC B'00001111011100100110010110111011' 46
DC B'01100110111011010101011110000101' 47
DC B'11101111110010011001011011100010' 48
DC B'01110010011110011010110101001111' 49
DC B'00001101010100001010001000010101' 50
DC B'01000000101011101010000100111110' 51
DC B'01011101111100000010000100000000' 52
DC B'00000111101111111111010000000000' 53
DC B'10100000010110111110001000110101' 54
DC B'10111110111001001101110001110000' 55
DC B'11011110111010011100010110000010' 56
DC B'11111100000101110000001101100000' 57
DC B'11101101100111110011010110111110' 58
DC B'11001001011001011111100100111001' 59
DC B'11001010011000010001000101011011' 60
DC B'10000010100101100010001111100001' 61
DC B'01011001000011111111101101100101' 62
DC B'00100101001100111011110000010000' 63
DC B'11010011111111001010100111010001' 64
DC B'00011101011000011011110001111011' 65
DC B'10100111011100010010010110001001' 66
DC B'00001100111001101101000101010101' 67
DC B'00011111101010100001101111100110' 68
DC B'10001100101010100100100010100010' 69
DC B'00100010111011001100110111001111' 70
DC B'10111011101001100000111101001011' 71
DC B'11000001001010000100011111101100' 72
DC B'00110110100110011001110001100011' 73
DC B'10111110011001110010111011010111' 74
DC B'01111000101110011110010110111011' 75
DC B'00011110100110010110101100101111' 76
DC B'11010001101100111011110010001010' 77
DC B'01100101100010000101100010000100' 78
DC B'10111110110111010010011111110110' 79
DC B'10011000001100111110111011111110' 80
*
* The maximum table offset must be at least 255 (bytes).
* The actual table size is the maximum table offset +4.
* The maximum table offset should be a prime number.
*
“Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.”
Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience.
Comment