NeuroSync – An experimental Python library for neural cryptography
NeuroSync – An experimental Python library for neural cryptography
Hi HN, I built NeuroSync originally as a final year school project to explore Neural Cryptography. The main idea is the use of adversarial learning to train two NNs (Alice and Bob) to encrypt and decrypt data while a third one (Eve) is trying to break the cipher. While that isn't new I made it into a usable library with an interface that allows to easily switch parameters and experiment with them to help research in this field. To make it functional, I implemented a hash-based correction system to ensure 100% decryption accuracy (bypassing the usual 0.2% probabilistic errors of neural synchronization), alongside packet sequencing and periodic key changes. It is definitely still a work in progress, and the "Eve" (attacker) network currently needs a lot of work. But the first version is usable and the core communication protocol works. I added a Jupyter Notebook in the repo so you can test the key exchange and encryption without setting anything up. I'm sharing this mostly to get your feedback, hear your ideas, and maybe find some folks interested in this field too. Would love to hear your thoughts or critiques!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
A Python library for Unicode string collation
A Python library for accessing Wunderlist
Ohne I/O, a Python 3.4+ coroutine library without any I/O
Combinatorix, yet another combinator library in Python
Tt Python library
Python library for GoPro cameras
B2blaze – A Backblaze B2 library for Python
Matrixprofile-ts – A Python library for timeseries motifs and discords
Timewarp – a terse relative syntax Python datetime library
Python library for parsing Dockerfile