Giter Club home page Giter Club logo

crypto-commons's People

Contributors

enedil avatar msm-cert avatar msm-code avatar nazywam avatar pharisaeus avatar thez3ro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crypto-commons's Issues

Hensel Lifting delivers incorrect results

k = 3
e = 0x10001
p = 5300683
xx = 163350155649156113641909525
assert xx < p**k
yy = pow(xx, e, p**k)
f = lambda x: (pow(x, e, p**k) - yy) % p**k
df = lambda x: (e*pow(x, e-1, p**k)) % p**k
a = [x for x in range(p) if (pow(x, e, p) - yy) % p == 0]
assert any((x - xx) % p**k == 0 for x in hensel_lifting(f, df, p, k, a))

if I set the exponent to 3, this doesn't fail

Under which License is this code published?

First of all, thanks for this repo!

I am trying to make your work available on NixOS.
The expression to build the package is done, and the PR is pending at NixOS/nixpkgs#73069 .

However, a license is usually required as meta-information related to the package, and it seems to be missing from here.
Under which license is this work available?

Thanks!

Why the p4team folder?

I really like the aim of this project. I was thinking of building one by myself and then I found this.

Anyway, why the main folder is called p4team? Is this some kind of "private"/"exclusive" software?
I think that this library should be "team"-less as I'm willing to help writing some code.

Another question, classic cipher code (like Kasisky over Vigenere, Playfair Enc/Dec) is in the scope of this library or it's Modern Crypto only?

Thanks

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.