Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: RFrec_full RFtrans_full
Homepage
The output will be base64-encoded, with trailing "==", like this:
j62o/jZsAZD9i9m+32lIuQ==
Example¶
#include "mbed.h"
#include "hmac_md5.h"
Serial pc(USBTX, USBRX); // tx, rx
void main(void)
{
const char * key = "MySecretKey";
const char * text = "message to be signed";
char output[26];
HMAC_MD5(key, text, output);
printf("result = %s\n", output);
while(true){}
}