#include "AESLib.h"
void setup() {
Serial.begin(9600);
uint8_t key[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
char data[] = "0000000000000024"; //origanally only 16 chars
aes128_enc_single(key, data);
Serial.print("encrypted:");
for (byte i=0; i<16; i++) {
Serial.print(data[i]&0xFF,HEX);
Serial.print(" ");
}
Serial.println();
aes128_dec_single(key, data);
Serial.print("decrypted:");
Serial.println(data);
}
void loop() {
// put your main code here, to run repeatedly:
}
aes128_enc_single this is giving me error
Why did you start a topic in the Uncategorised category of the forum when its description is
DO NOT CREATE TOPICS IN THIS CATEGORY ![]()
Your topic has been moved to the Programming category
Does asking you to tell us what error message is asking too much?
Try starting with a library example.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.