Comments (3)
Hey @dpoetzsch,
We've done a really bad job at keeping that file up to date and usable with the current state of the library, our apologies. We really need to just remove that file at this point. The benchmark file is likely a better example of seeing how the library works. The instructions for how to hit the benchmarks are in the README and you can look at the source for examples of how all the various methods are called.
If that doesn't help or you're still confused, please let me know.
Also, we've somewhat transitioned this library from Scala to Rust which gives much greater performance than the ScalaJS library here. You might want to take a look at the WebAssembly or NodeJS repos instead if you're planning on using this in a JavaScript environment.
from recrypt.
Thanks for your input, I'll have a look at those repos!
I figured this one out using the benchmark.html
already, maybe I could even contribute an improved index.html
example -- let's see if I find time for that.
from recrypt.
We'd definitely appreciate it if you had time for it. We mostly moved away from it because of the dependency issues with some method arguments. For example, encrypt()
requires arguments that have to come from various other methods (generatePlaintext()
, generateKeyPair()
, signing keys, etc) and that file somewhat needs an overhaul to really make it useful.
from recrypt.
Related Issues (11)
- Migrate CI: Travis -> GitHub
- Sha256Hash isn't thread safe.
- Mention patents
- Use recrypt with onion encryption HOT 2
- Hashable for Vector is incorrect.
- N/A
- Schnorr signature interprets the `r` in the message incorrectly if the high bit is set.
- Add documentation to recrypt (Scala) to talk about state of project and existence of recrypt-rs
- Reject values for random element input to Schnorr signing if >= curve order HOT 1
- Add ability to combine 2 private keys to support augmentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recrypt.