philippschindler / hydrand Goto Github PK
View Code? Open in Web Editor NEWPython implementation of the HydRand protocol
License: MIT License
Python implementation of the HydRand protocol
License: MIT License
Dear sir,
I notice that no matter what "keypair" or "secret" in HydRand,all of them is Scalar data type.Is there any way to use my own data? For example, i want to share a string message "hello,world!". How to transfer str to Scalar, and after recover , the secret is still a Scalar type value. How to transfer Scalar to a str?
I have tried the method "deterministic_random_scalar(purpose: Optional[str] = None, counter: Optional[int] = None)" in hydrand/utils.py , i think this is the way to Scalar, but i can't find a way back to string.
Hi, Sir. In the progress of applying your achievement, I think I break the continuity, I am here to turn to you for how to use Hydrand gracefully. Recently, I am trying to apply 'Hydrand' to my paper, but I met some troubles. I have solved some of them. But when I finished one problem , the other one will appear accordingly. I have stagnated here for one week. My code framework as the following.
At the beginning, in the round 1, everything is all right. But in the round >1, "dealta <0", start time < actual time, I fix this problem by giving a difference of time.After I fix this problem , the beacons' problem arose following. After I fix beacons' problem, certificate_available is not available.Even I fix all the problem above, a series of problem will appear whatever. The reason why problems appear is that I can't find a grace way to use "Hydrand". And I break the continuity of Hydrand.
But in this way , it didn't work in the second round.
Thought in the "test_node.py" we test in a multithreading way, it's very strict for timeliness in Hydrand. In my experiment, HydRand is regarded as a black box for providing randomness, so i hope it can run one round when i call it.
It's very kind if you have any advices about my problem.
Thanks for your reading and your contribution.
hi, sir! could you tell me about how to test throughout of HydRand? using some tools like ab, iperf or something else?
Dear Dr.Schindler,
Recently, i studied some knowledge about your paper and "RoundHound and RandHerd".The method last time you update in README, i have tried, and that is all right.But 4 faults appeared when i try “pytest”,maybe some setting i missing during test duration.Here is the photo. I don't know if the faults are set to simulate or not?Here is pictures i catch:
hello,i am a student of university. My research orientation is information security and blockchain. I am very interesting in what you have proposed——hydrand,but pooring in programming limited me to make the next step——applying and extending your result.would you mind writing down how to make a local test specially?thank you very much!!(it doesn't matter if you were unwilling. )
Dear sir,
Can I test throughput, bandwidth, and so on in a single machine(a server)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.