Skip to content

Collection of BSD/MIT-licensed algorithms implementations in pure C

License

Notifications You must be signed in to change notification settings

afiskon/c-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

See also

Related articles:

About

Collection of BSD/MIT-licensed algorithms implementations in pure C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published