For Arduino
Updated: spaniakos 2015
This is an example of hot to generate passwords and IVs of varius sizes
#include <KEYGEN.h>
#include "./printf.h"
void setup() {
Serial.begin(9600);
delay(100);
printf_begin();
delay(100);
printf("\n============================================\n");
printf(" Password Generation sample for Arduino/Raspberry pi\n");
printf("============================================\n");
}
void loop() {
char psw_8[8];
char psw_16[16];
char IV_8[8];
char IV_16[16];
printf("\n===========8 char sample for password===========\n");
printf("\n===========16 char sample for password===========\n");
printf("\n===========8 char sample for IV===========\n");
printf("\n===========16 char sample for IV===========\n");
delay(2000);
}