Skip to content

Portable, endian-proof, single-file, single-function sha256 implementation in C

License

Notifications You must be signed in to change notification settings

BareRose/lonesha256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

This is a header-only library, as such most of its functional documentation is contained within the "header section" of the source code in the form of comments. It is highly recommended that you read said documentation before using this library.

Features

The lonesha256 library provides portable sha256 hashing in a single function, its features include:

  • No hard dependencies besides the standard library, making it fully portable
  • Avoids endianness issues by relying entirely on endian-agnostic operations
  • Simple hashing in a single function without any convoluted initialization

Attribution

You are not required to give attribution when using this library. If you want to give attribution anyway, either link to this repository, my website, or credit me as BareRose. If you want to support me financially, consider giving to my Patreon.

License

Licensed under CC0 aka the most lawyer-friendly way of spelling "public domain".

About

Portable, endian-proof, single-file, single-function sha256 implementation in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages