abbi-gehl / masm-enigma

This is a digital simulation of the German Enigma machine written in x64 masm assembly and C++
Apache License 2.0
1 stars 0 forks source link

STORY: create the hash function for the switchboard #4

Closed abbi-gehl closed 8 months ago

abbi-gehl commented 8 months ago

in order to create the hash table and subsequently the switchboard, a hashing function should be created either using C++ or assembly.

The C++ hash function has too much overhead to be practical for this program.

The current working version I made divides the binary representation of the character by 8, which works but is not ideal.