Interface SecretGenerator
- All Known Implementing Classes:
SecureRandomSecretGenerator
public interface SecretGenerator
Port that creates the shared secrets of TOTP credentials.
-
Method Summary
-
Method Details
-
generate
byte[] generate()Creates an unguessable secret.- Returns:
- the secret bytes.
-