source: trunk/symbol_table/hash_strms.py @ 2031

Last change on this file since 2031 was 1993, checked in by ksherdy, 7 years ago

Updated.

File size: 283 bytes
Line 
1class Hash():
2    h0 = 0
3    h1 = 0
4
5def Gen_hash_streams(basis_bits, hash):
6    hash.h0 = basis_bits.bit_3 ^ basis_bits.bit_5 ^ basis_bits.bit_7
7    hash.h1 = basis_bits.bit_3 ^ basis_bits.bit_4 ^ basis_bits.bit_6
8
9def Main(basis_bits, hash):
10    Gen_hash_streams(basis_bits, hash)
Note: See TracBrowser for help on using the repository browser.