Highlights
- Pro
-
hensel Public
Pure-Python implementation of Hensel lifting for square roots modulo a prime power.
Python MIT License UpdatedApr 27, 2025 -
products Public
Simple function for building ensembles of iterables that are disjoint partitions of an overall Cartesian product.
-
bitlist Public
Pure-Python library for working with bit vectors.
Python MIT License UpdatedApr 25, 2025 -
parts Public
Minimal library that enables partitioning of iterable collections in a concise manner.
-
sizeof Public
Simple function for determining the memory usage of common Python values and objects.
Python MIT License UpdatedApr 24, 2025 -
modulo Public
Pure-Python library for working with modular arithmetic, congruence classes, and finite fields.
-
tonellishanks Public
Pure-Python implementation of the Tonelli-Shanks algorithm for calculating a square root modulo a prime.
Python MIT License UpdatedApr 22, 2025 -
rabinmiller Public
Pure-Python implementation of the Rabin-Miller primality test.
Python MIT License UpdatedApr 21, 2025 -
egcd Public
Pure-Python extended Euclidean algorithm implementation that accepts any number of integer arguments.
-
flats Public
Minimal library that enables flattening of nested instances of iterable containers.
Python MIT License UpdatedApr 20, 2025 -
-
shamirs Public
Minimal pure-Python implementation of Shamir's secret sharing scheme.
-
pailliers Public
Minimal pure-Python implementation of Paillier's additively homomorphic cryptosystem.
cryptography cryptography-library paillier homomorphic-encryption homomorphic-encryption-library paillier-cryptosystem homomorphic-cryptography-schemePython MIT License UpdatedJan 1, 2025 -
lagrange Public
Pure-Python implementation of Lagrange interpolation over finite fields.
-
iroot Public
Pure-Python implementation of an algorithm that computes integer roots of arbitrary degree.
MIT License UpdatedMar 14, 2024 -
permutations Public
Python library for instantiating and working with permutation collections that provide efficient implementations of all sequence methods (including random-access retrieval by index).
python-library iterables combinatorics permutations iterable python-data-structures python-iterablesPython MIT License UpdatedJan 10, 2024 -
gcrt Public
Pure-Python implementation of a generalized Chinese remainder theorem solver.
MIT License UpdatedDec 23, 2023 -
pillowcases Public
Library that makes it possible to work in a concise, algebraic way with Python Imaging Library image objects.
Python MIT License UpdatedAug 24, 2023 -
This article presents a technique for constructing secure multi-party computation protocols that allow evaluation of univariate functions on secret-shared inputs.
Jupyter Notebook MIT License UpdatedAug 16, 2023 -
unwraps Public
Python metaclass that makes it possible to use the class definition syntax to introduce functions that match objects according to their class, unwrap them, and operate on them.
MIT License UpdatedJun 23, 2023 -
mr4mp Public
Thin MapReduce-like layer that wraps the Python multiprocessing library.
-
reiter Public
Wrapper for Python iterators/iterables that implements a list-like random-access interface by caching retrieved items for later reuse.
python-library python-wrapper python-data-structures python-cache python-iterators python-iterables python-iterablePython MIT License UpdatedMay 27, 2023 -
isqrt Public
Efficient pure-Python implementation of the integer square root function.
-
prd Public
Idiomatic implementation of a Python function that calculates the product of the items from an iterable.
Python MIT License UpdatedMay 25, 2023 -
univariate Public
Data structure for representing secret shares of elements of finite sets and univariate functions thereof, designed for use within secure multi-party computation (MPC) protocol implementations.
Python MIT License UpdatedSep 22, 2022 -
course-linear-algebra Public
Lecture notes, assignments, and other materials for a one-semester introductory course on topics in linear algebra and computer science applications thereof.
computer-science linear-algebra introduction lecture-notes educational-materials matrix-math educational-resourcesHTML UpdatedNov 14, 2020 -
course-data-mechanics Public
Lecture notes and other materials for a one-semester course on data mechanics.
-
course-programming-languages Public
Lecture notes, assignments, and other materials for a one-semester course on programming language concepts and theory, interpretation and compilation, and programming paradigms.
-
Lecture notes, assignments, and other materials for a one-semester introductory course on topics in logic, combinatorics, and computer science applications thereof.
-
course-abstract-algebra Public
Lecture notes, assignments, and other materials for a one-semester introductory course on topics in number theory, modular arithmetic, abstract algebra, and computer science applications thereof.
computer-science algorithms modular-arithmetic introduction lecture-notes number-theory abstract-algebraPHP UpdatedNov 8, 2020