Skip to content
Collection of BSD/MIT-licensed algorithms implementations in pure C
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
src
test
.gitignore .gitignore modified: tags added Jun 28, 2016
CMakeLists.txt Tests added Aug 19, 2016
LICENSE
README.md Add links to the related articles Jul 9, 2018
TODO.md
cov.sh Fix coverage report building script Sep 26, 2016

README.md

c-algorithms

Collection of BSD/MIT-licensed algorithms implementations in pure C. High test coverage.

Usage

How to build:

mkdir build
cd build
cmake ..
make -j4
make test

How to make a coverage report:

sudo apt-get install lcov

mkdir build
cd build
../cov.sh

Index

  • Data Structures (src/struct/)
    • Single- and double-linked lists (ilist.c)
    • Red-black trees (rbtree.c)
    • Hash tables (htable.c)
  • Crytography (src/crypto/)
    • MD5 hashing (md5.c)
    • SHA1/SHA2 hashing (sha1.c, sha2.c)
    • AES (Rijndael) encryption (rijndael.c)
    • More will be added soon!

See also

Related articles:

You can’t perform that action at this time.