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:

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

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support