Skip to content

2023 Advanced Application Programming & Eureka Project

Notifications You must be signed in to change notification settings

KMU-Function/Return-0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Return-0

Overview

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.

Features

  • 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.

Supporting OS

Return-0 supports following OS.

  • OS X
  • Windows 10, 11
  • Ubuntu (stable at 20.04 LTS)

Getting Started

Dependencies

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.

Building the Library

Simply run make in your terminal.

Testing

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.

How to Use

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.

About

2023 Advanced Application Programming & Eureka Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published