feat(util): add HMAC-SHA1 utility function

This commit is contained in:
fallenoak 2023-03-23 22:56:59 -05:00
parent fc622cceed
commit 1246a5a4da
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 46 additions and 0 deletions

8
src/util/HMAC.hpp Normal file
View file

@ -0,0 +1,8 @@
#ifndef UTIL_HMAC_HPP
#define UTIL_HMAC_HPP
#include <cstdint>
void HMAC_SHA1(const uint8_t* key, uint32_t keyLen, const uint8_t* data, uint32_t dataLen, uint8_t* out);
#endif