GithubHelp home page GithubHelp logo

aldrinmathew / kyber.dart Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 52 KB

Kyber Post-Quantum key exchange protocol for Dart

Home Page: https://pub.dev/packages/kyber

License: MIT License

Dart 100.00%
kyber post-quantum-cryptography post-quantum

kyber.dart's Introduction

Kyber

Implementation of the CRYSTALS Kyber Post-Quantum Key Exchange Protocol in Dart

kyber.dart's People

Contributors

aldrinmathew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kyber.dart's Issues

Can't run tests

Hi there,

I'd like to be able to run the tests but the json files have been excluded from the repo, possibly because the .gitignore specifies it.

I've also found that the method definitions are inconsistent. For instance, in the Kyber encrypt method the param is called pk, which I'm assuming is the public key? Whereas in the decrypt method the params are very explicit. A similar naming choice occurs in the INDCPA class for the encrypt method (pk1).

Appreciate your effort in sharing this, just finding a lack of any explanation in the README, coupled with the inability to run the tests and the tests not actually covering the key generation, encryption or decryption methods a bit of the blocker.

I would consider supporting this package if it was a bit more complete as I'm in need of a quantum-resistant cipher in my current project. Ultimately, I'd like to be able to use a Kyber public key to encrypt an AES key used to create arbitrarily-sized symmetric cipher texts, and then use the Kyber private key to decrypt the AES key to decrypt the cipher texts. Does that make sense?

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.