{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"},{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"Galois extends NumPy arrays to perform arithmetic operations over finite fields (Galois fields), enabling efficient computation in GF(p^m) with a NumPy-compatible interface.","skillfed_tags":["finite-fields","cryptanalysis","error-correction"],"use_cases":["Implement Reed-Solomon or BCH error correction codes for data transmission or storage systems.","Perform polynomial arithmetic and factorization over finite fields for cryptanalysis or algorithm research.","Conduct linear algebra computations (matrix operations, solving systems) constrained to a finite field.","Prototype or analyze cryptographic algorithms that operate on Galois fields without writing low-level modular arithmetic.","Generate or test irreducible, primitive, and Conway polynomials for finite field construction."],"what_it_does":"Galois is a NumPy extension that lets you create arrays that perform all arithmetic in a finite field GF(p^m) instead of over real numbers. You define a field using galois.GF(p**m), which returns a FieldArray subclass that behaves like a NumPy array but enforces finite-field arithmetic on all operations. Internally, it replaces NumPy's universal functions with specialized versions compiled by Numba, configurable to use either lookup tables for speed or explicit calculation for memory efficiency.\n\nThe library targets research, cryptanalysis, education, and reverse engineering rather than production security (the algorithms are not constant-time and vulnerable to timing attacks). It includes support for linear algebra over finite fields, polynomial operations, forward error correction codes (BCH, Reed-Solomon), linear-feedback shift registers, and number-theoretic functions like factorization and primality testing.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and uses a permissive MIT license. It fills a clear niche for finite-field arithmetic in Python with NumPy integration. The non-constant-time implementation is explicitly documented as unsuitable for production security but appropriate for research and education, so install only if that scope matches your use case."},"id":"galois","links":{"html":"https://skillfed.io/packages/galois","md":"https://skillfed.io/packages/galois.md","pypi":"https://pypi.org/project/galois/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-02","license_spdx":null,"license_treatment":"permissive","name":"galois","python_support":"supports_current","summary":"A performant NumPy extension for Galois fields and their applications"},"popularity":{"monthly_downloads":269763,"position":8250,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.11"}
