Ne

NeuroSync – An experimental Python library for neural cryptography

Hacker News

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 card

Actual performance

1points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
57%57% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
AppSumoStrong fit for a featured deal · Strong signals: interface · Missing: plus, platform, intuitive
55%55% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
49%49% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntUnlikely to reach the leaderboard · Strong signals: new · Missing: mac, agents, macos
44%44% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
30%30% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: crypto · Missing: web3, chat, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A Python library for Unicode string collation55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python library for Unicode string collation

Hacker News4
A
A Python library for accessing Wunderlist67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python library for accessing Wunderlist

Hacker News1
Oh
Ohne I/O, a Python 3.4+ coroutine library without any I/O55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ohne I/O, a Python 3.4+ coroutine library without any I/O

Hacker News2
Co
Combinatorix, yet another combinator library in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Combinatorix, yet another combinator library in Python

Hacker News4
Tt
Tt Python library67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tt Python library

Hacker News1
Py
Python library for GoPro cameras67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for GoPro cameras

Hacker News131
B2
B2blaze – A Backblaze B2 library for Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

B2blaze – A Backblaze B2 library for Python

Hacker News359
Ma
Matrixprofile-ts – A Python library for timeseries motifs and discords58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Matrixprofile-ts – A Python library for timeseries motifs and discords

Hacker News95
Ti
Timewarp – a terse relative syntax Python datetime library55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Timewarp – a terse relative syntax Python datetime library

Hacker News3
Py
Python library for parsing Dockerfile65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for parsing Dockerfile

Hacker News2