Hash Latch

Northstrix

Member
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
 

Attachments

  • FRZYV7CLJYAYW18.png
    FRZYV7CLJYAYW18.png
    672.6 KB · Views: 13
  • F22MAQGLJYAYO99.png
    F22MAQGLJYAYO99.png
    31.7 KB · Views: 7
  • F3IWROCLJYAYX3C.jpg
    F3IWROCLJYAYX3C.jpg
    231.2 KB · Views: 7
  • FT825BNLJYAYVBU.png
    FT825BNLJYAYVBU.png
    47.1 KB · Views: 6
  • F59S273LJYAYXAN.jpg
    F59S273LJYAYXAN.jpg
    204.7 KB · Views: 7
Back
Top