Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mlafeldt/libbig_int
Portable C library to calculate integers and bitsets of arbitrary length
https://github.com/mlafeldt/libbig_int
Last synced: 11 days ago
JSON representation
Portable C library to calculate integers and bitsets of arbitrary length
- Host: GitHub
- URL: https://github.com/mlafeldt/libbig_int
- Owner: mlafeldt
- License: other
- Created: 2012-04-12T21:28:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T19:54:29.000Z (over 4 years ago)
- Last Synced: 2024-07-31T22:56:42.930Z (3 months ago)
- Language: C
- Homepage:
- Size: 43.9 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libbig_int
[![Build Status](https://travis-ci.org/mlafeldt/libbig_int.svg?branch=master)](https://travis-ci.org/mlafeldt/libbig_int)
libbig_int is a portable C library to calculate integers and bitsets of
arbitrary length. The sources were taken from the [big_int] PHP library by
Alexander Valyalkin.## Installation
To build and install libbig_int, simply run:
```bash
mkdir build
cd build/
cmake ..
make
make install
```## Usage
Examples using libbig_int:
- [RSA encryption/decryption](https://github.com/mlafeldt/cb2util/blob/v1.6/cb2_crypto.c#L290-L334)
- [RSA signature validation](https://github.com/mlafeldt/cb2util/blob/v1.6/cb2_crypto.c#L775-L816)[big_int]: https://github.com/valyala/big_int