Hash Latch


The hash latch is a lock that generates keys in a manner similar to how some cryptocurrencies are mined. It takes a string and brute-forces a prefix for it so that the hash of the string with the prefix has a certain number of leading zeroes. This approach allows the hash latch to be opened by many keys, without the need to store any of them in its memory

To prevent an attacker from forging the keys by generating a new prefix: the hash latch doesn't output the keys in the plaintext. Instead, it encrypts the key and outputs the ciphertext. That means that instead of giving you the actual key, it gives you a safe containing the key. This approach allows the hash latch to protect itself from forged keys and also enables you to put the same key into multiple safes without the recipients of these safes knowing they have the same key (even if they compare their ciphertexts).

Moreover, the hash latch verifies the integrity of a key after decrypting it (just in case).
It can also print logs by acting as a USB keyboard.

I know this project is still raw and more like a proof-of-concept than a ready-to-use device. Nevertheless, I still decided to try my luck and post it here.

The tutorial is available at: https://www.instructables.com/Hash-Latch/

The source code can be downloaded from:
SourceForge: https://sourceforge.net/projects/hash-latch/
GitHub: https://github.com/Northstrix/Hash_Latch


    672.6 KB · Views: 13
  • F22MAQGLJYAYO99.png
    31.7 KB · Views: 7
    231.2 KB · Views: 7
    47.1 KB · Views: 6
  • F59S273LJYAYXAN.jpg
    204.7 KB · Views: 7