Welcome to Return-0, a warm and user-friendly big integer library crafted with care in C. This library is designed to make handling big integers a delightful experience, providing a range of features to simplify your arithmetic operations.
-
Big Integer Arithmetics: Perform a variety of big integer arithmetic operations with ease, including comparisons.
-
Karatsuba Multiplication: Optimize your multiplication tasks with the efficient Karatsuba algorithm.
-
Bit Shifting: Seamlessly shift your big integers to the left or right.
-
Barrett Reduction: Benefit from the Barrett reduction algorithm for efficient modular reduction.
-
Modular Exponentiation: Easily compute modular exponentiation for your cryptographic needs.
Return-0 supports following OS.
- OS X
- Windows 10, 11
- Ubuntu (stable at 20.04 LTS)
To get started, make sure you have the following dependencies installed on your system:
- GCC (>= 9.4)
- Python3 (>= 3.8)
- Make (>= 4.2)
Please note that you will need to install Valgrind manually if you haven't already.
Simply run make
in your terminal.
After building the library, you can run comprehensive tests to ensure everything is working as expected. Follow these steps:
Navigate to the test directory and run test_all.py
. Run following commands:
cd test
python test_all.py
This will execute tests covering all arithmetic operations.
For detailed instructions on how to use KindBigIntLib, please refer to the documentation at [// URL](// URL).
We hope you enjoy using Return-0 as much as we enjoyed creating it.