Skip to content

cfvaughnii/telehash-c

 
 

Repository files navigation

telehash tools library in c

This is a full implementation of telehash in portable c, designed to be a library for apps to link with, source that can be copied into other projects, and usable components for embedded systems.

Building

Just run make to build a libtelehash.a and some utility apps into bin/*. Use make test to run a full test suite.

Use npm install to automatically install optional crypto dependencies (libsodium and libtomcrypt).

Library Interface

The codebase is a set of components that can be used to create/integrate telehash services, here's a rough layout, see src/ and include/ for details.

  • e3x_*: all of the crypto handling
  • mesh_* and link_*: higher level easy interfaces for apps
  • ext_*: various useful extensions to a mesh to support built-in channels
  • pipe_* and net_*: transport and networking handling
  • util_* and libs: portable utilities and bundled libs

There's many examples of usage in the bundled tests.

About

telehash tools library in c

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.6%
  • C++ 19.5%
  • Assembly 3.0%
  • Makefile 1.0%
  • Other 0.7%
  • Objective-C 0.1%
  • Other 0.1%