SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1#ifndef SENSESP_SYSTEM_HASH_H
2#define SENSESP_SYSTEM_HASH_H
3
4#include "sensesp.h"
5
6namespace sensesp {
7
8void Sha1(const String& payload_str, uint8_t *hash_output);
9String MD5(const String& payload_str);
10
11String Base64Sha1(const String& payload_str);
12
13} // namespace sensesp
14
15#endif
void Sha1(const String &payload_str, uint8_t *hash_output)
SHA-1 hash function.
Definition hash.cpp:17
String MD5(const String &payload_str)
MD5 hash function.
Definition hash.cpp:43
String Base64Sha1(const String &payload_str)
A base64-encoded SHA-1 hash function.
Definition hash.cpp:72