I'm working on a program in which I need to store a 16-byte (17 including the last '\0') password to EEPROM.
I want not to store it as plain text but to hash it.
I searched the net and found the avr-crypto-lib library; however, I can't make heads or tail out of it.
Can anyone please give me an explanation on how to set up sha256, keccak or any other hashing algorithm available in the library which you think is a better choice?
I will really appreciate simple example programs.
I'm not sure if it is relevant but I'm using the ATMEGA32A so the produced .hex file size should be small enough to be uploaded to it.
Thanks in advance :)