I am going to make the encryption based on millis().But many AES library is only support 'byte' type.I am not good at C program.When I use 'byte time=byte(millis());'
serial monitor gaves me some random number.I know that isn't correct.
How to make 'unsigned long' being supported by AES library.Or how to convert it to byte.
By the way.I am confused about byte and char.Are they same?
I just mean I need a AES library support "unsigned long" directly.I am not good at C language.
If I can't find out how to do it.I have to give it up,because Setp.1 is coming,I need to go to school......
(I make my things for myself using.Not homework......Because in China,no teacher care about your creative.You just need to recite the poem,article.You just need high score....)
I am thinking about the SHA library seems can work with millis().
If you have some good AES library supported 'unsigned long' or you know how to make millis() being encryptable with AES.Please tell me.
Thanks your reply.Get that.I am going to try it.I just don't know too deep about C language.I think I need to study about union/typedef/enum.
Thank you and your code