Ready to implement JWT signature

This commit is contained in:
2024-09-27 20:13:50 +02:00
parent fa431857ee
commit 77c3702986
3 changed files with 45 additions and 5 deletions

View File

@ -39,6 +39,11 @@ extern "C"
*/
char *crypto_encode_base64_safe_url(const char *src, size_t srclen);
/**
* Sign some data using sha256
*/
char *crypto_sign_sha256_payload(const char *src, const size_t src_len, size_t *srclen);
#ifdef __cplusplus
}
#endif