number?
For generating any OTP or whatever, you can go with random values.. Just generate 6 digits number randomly
i want to be unique not just random.
https://github.com/JSM33T/almondcove/blob/main/Modules/OTPGenerator.cs this good?
thanks i don't understand code but i will test it.
it considers a secret key + datetime factor to randomise it more
i mean how it's generate. var offset = hash[^1] & 0xF; var truncatedHash = (hash[offset] & 0x7F) << 24 | (hash[offset + 1] & 0xFF) << 16 | (hash[offset + 2] & 0xFF) << 8 | hash[offset + 3] & 0xFF;
Обсуждают сегодня