Coder Social home page Coder Social logo

Comments (3)

ernieturner avatar ernieturner commented on August 18, 2024

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.

dpoetzsch avatar dpoetzsch commented on August 18, 2024

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.

ernieturner avatar ernieturner commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.