pyNTRUEncrypt

Python NTRUEncrypt implementation (by logannc)

pyNTRUEncrypt Alternatives

Similar projects and alternatives to pyNTRUEncrypt

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pyNTRUEncrypt alternative or higher similarity.

pyNTRUEncrypt reviews and mentions

Posts with mentions or reviews of pyNTRUEncrypt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-09.
  • OpenSSH now uses hybrid post-quantum streamlined NTRU Prime X25519 by default
    2 projects | news.ycombinator.com | 9 Apr 2022
    I have a really old (college) implementation of plain old NTRU in Python, if you'd like a little insight into what NTRU is and how it works at a superficial level (kind of like how RSA is never textbook RSA). There are also some slides explaining the math, but you have to be comfortable with some college level group theory (even reading my own slides is hard because I haven't used it since then).

    The short answer is that NTRU uses convolution polynomial lattices. Breaking the cryptosystem requires finding a "short" basis for a lattice described by the private key. There are efficient algorithms for this in R^2, but not for high dimensional convolutional polynomial spaces (LLL Reduction is the best I'm aware of, which is greater than O(d^5) where d is the number of dimensions https://en.wikipedia.org/wiki/Lenstra%E2%80%93Lenstra%E2%80%...).

    Do note the impl I did is absolutely terrible and probably subtly buggy but might get the idea across. Also, it splits the message into blocks and encrypts that instead of just wrapping a symmetric encryption algorithm because I was young and naive. :)

    https://github.com/logannc/pyNTRUEncrypt

Stats

Basic pyNTRUEncrypt repo stats
1
6
10.0
almost 9 years ago

logannc/pyNTRUEncrypt is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of pyNTRUEncrypt is Python.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com