![]() |
pluto
1
Small utility library for UUIDs, SHA1, and Encryption
|
SHA1 functionality of Pluto. More...
#include <TinySHA1.h>
Public Types | |
typedef uint32_t | digest32_t[5] |
digest32 | |
typedef uint8_t | digest8_t[20] |
digest8 | |
Public Member Functions | |
SHA1 () | |
Default Constructor of SHA1. | |
SHA1 (const SHA1 &s) | |
Copy Constructor of SHA1. | |
const SHA1 & | operator= (const SHA1 &s) |
equals operator More... | |
SHA1 & | reset () |
reset the SHA1 More... | |
SHA1 & | processByte (uint8_t octet) |
processes byte of SHA1sum | |
SHA1 & | processBlock (const void *const start, const void *const end) |
processes block of SHA1sum | |
SHA1 & | processBytes (const void *const data, size_t len) |
processes the bytes of a SHA1 | |
const uint32_t * | getDigest (digest32_t digest) |
gets digest of SHA1 | |
const uint8_t * | getDigestBytes (digest8_t digest) |
gets the digests bytes of the SHA1 | |
Static Public Member Functions | |
static uint32_t | LeftRotate (uint32_t value, size_t count) |
equals operator More... | |
Protected Member Functions | |
void | processBlock () |
processes block of SHA1 | |
SHA1 functionality of Pluto.
SHA1 is used to create a hash for a given data set this hash is normally used as an ID.
|
inlinestatic |
equals operator
Sets 2 hashes equal to eachother
equals operator
Sets 2 hashes equal to eachother