-
-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added documentation of "crow::App", "crow::SimpleApp", "crow" (namespace), all macros defined in "crow/app.h". * Added documentation entry for file crow/TinySHA1.hpp, namespace sha1, class sha1::SHA1, namespace crow and namespace crow::websocket * Documented crow/app.h and also improved crow/TinySHA1.hpp documentation * Update app.h
- Loading branch information
1 parent
3e9eb11
commit 4fbd9b4
Showing
10 changed files
with
253 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
/* | ||
* | ||
* TinySHA1 - a header only implementation of the SHA1 algorithm in C++. Based | ||
* on the implementation in boost::uuid::details. | ||
* | ||
/* | ||
* SHA1 Wikipedia Page: http://en.wikipedia.org/wiki/SHA-1 | ||
* | ||
* Copyright (c) 2012-22 SAURAV MOHAPATRA <[email protected]> | ||
|
@@ -19,14 +15,35 @@ | |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
*/ | ||
|
||
/** | ||
* \file TinySHA1.hpp | ||
* \author SAURAV MOHAPATRA <[email protected]> | ||
* \date 2012-22 | ||
* \brief TinySHA1 - a header only implementation of the SHA1 algorithm in C++. Based | ||
* on the implementation in boost::uuid::details. | ||
* | ||
* In this file are defined: | ||
* - sha1::SHA1 | ||
*/ | ||
#ifndef _TINY_SHA1_HPP_ | ||
#define _TINY_SHA1_HPP_ | ||
#include <cstdio> | ||
#include <cstdlib> | ||
#include <cstring> | ||
#include <stdint.h> | ||
|
||
/** | ||
* \namespace sha1 | ||
* \brief Here is defined the SHA1 class | ||
*/ | ||
namespace sha1 | ||
{ | ||
/** | ||
* \class SHA1 | ||
* \brief A tiny SHA1 algorithm implementation used internally in the | ||
* Crow server (specifically in crow/websocket.h). | ||
*/ | ||
class SHA1 | ||
{ | ||
public: | ||
|
Oops, something went wrong.