Giter Site home page Giter Site logo

Comments (14)

rashedmyt avatar rashedmyt commented on July 18, 2024 1

Sure.. haven't created the repo yet.. will add you as soon as it is up

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

Hi, what version of Dart do you use?

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

Actual version is not optimized for Dart2
environment: sdk: '>=1.20.1 <2.0.0'

I did not used Dart2 at all, but I can check it at home, maybe I will determine solution

from ed25519_dart.

egemenvardar avatar egemenvardar commented on July 18, 2024

I am using Flutter version 0.5.1, which uses Dart 2.0.0-dev.58.0.

Thanks - it would be great to have the dart 2 support.

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

I will try my best to implement compatibility!

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

I checked - it is not worked for me after conversion either, so need some time to see what changed in Dart2

from ed25519_dart.

egemenvardar avatar egemenvardar commented on July 18, 2024

Thanks for looking into it. I assume BigInt should be used for those integers now (not sure if there are more breaking changes though). From dart 2 change log:

BigInt class added to support integers greater than 64-bits.

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

I tried to make conversions, but BigInt is failing to use constant values.
New Dart2 is pretty bullshit thing, there is also dependencies on crypto libraries that cannot be ised in Dart2.

from ed25519_dart.

egemenvardar avatar egemenvardar commented on July 18, 2024

As far as I've seen all crypto related libraries had a problem with dart 2. It seems that pointycastle is now compatible with dart 2 (but unfortunately they don't yet support the use case I need).

from ed25519_dart.

rashedmyt avatar rashedmyt commented on July 18, 2024

@semolex Any updates regarding dart 2 support.. since its been a while dart 2 has been around and most other libraries have got around this issue, I was wondering if that can be done to this library too

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

@rashedmyt Unfortunately, I dropped this, while Dart2 has issues with BigNum...You might want to make a fork

from ed25519_dart.

rashedmyt avatar rashedmyt commented on July 18, 2024

TBH I'm not a fan of python implementation.. But I'm trying to port the Go implementation of ref10.. I'm very near to complete the bare basic language port but I'm not sure if it works as expected.. would appreciate any help to make it work

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

@rashedmyt No worries, you can add me to your repo and we can try to make it together

from ed25519_dart.

semolex avatar semolex commented on July 18, 2024

Great!

from ed25519_dart.

Related Issues (2)

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.