Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/reimunotmoe/libimei
- Owner: ReimuNotMoe
- License: mit
- Created: 2018-03-16T07:04:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T11:28:33.000Z (almost 6 years ago)
- Last Synced: 2024-10-26T21:34:31.685Z (18 days ago)
- Language: C
- Size: 4.88 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.