OTP Generator
hello, want create otp generator event based (the event button) , see otp on led dipslay 4 digits.
i want use library generate otp:
https://github.com/cathedrow/cryptosuite/blob/master/sha/sha1.h
but don't understand command use this:
, i'm note sure how can give here number (seed) start generation?
i want use library generate otp:
https://github.com/cathedrow/cryptosuite/blob/master/sha/sha1.h
but don't understand command use this:
code: [select]
uint8_t* hash;
sha1.init();
sha1.print("my seed");
hash = sha1.result();
, i'm note sure how can give here number (seed) start generation?
the 'seed' (value being hashed sha1) calculated shared key , 8-byte counter. see specification: https://tools.ietf.org/html/rfc4226
Arduino Forum > Using Arduino > Programming Questions > OTP Generator
arduino
Comments
Post a Comment