MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / hash_bs

Function hash_bs

hashing/sha1.cpp:84–204  ·  view source on GitHub ↗

* @brief The SHA-1 algorithm itself, taking in a bytestring * @param input_bs The bytestring to hash * @param input_size The size (in BYTES) of the input * @return void* Pointer to the 160-bit signature */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

hashFunction · 0.70

Calls 1

leftRotate32bitsFunction · 0.70

Tested by

no test coverage detected