Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reimunotmoe/libimei

IMEI generation and verification library
https://github.com/reimunotmoe/libimei

Last synced: 4 days ago
JSON representation

IMEI generation and verification library

Awesome Lists containing this project

README

        

# libIMEI

## Introduction
IMEI generation and verification library.
- Generates valid IMEI numbers.
- Verifies if an IMEI number is valid.

## Build
### Dependencies
This project has no dependencies.
### Compile
Nearly all my projects use CMake. It's very simple:

mkdir build
cd build
cmake ..
make -j `nproc`

If you want to install compiled stuff to system (default location is `/usr/local/`), just run `make install`.

## How to use
You can have a look at the examples, `imei_generate.c` and `imei_verify.c`.

## Caveats
This library uses `/dev/urandom` directly as random number source. It may not work on non-POSIX platforms.