Interface SecretGenerator

All Known Implementing Classes:
SecureRandomSecretGenerator

public interface SecretGenerator
Port that creates the shared secrets of TOTP credentials.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Creates an unguessable secret.
  • Method Details

    • generate

      byte[] generate()
      Creates an unguessable secret.
      Returns:
      the secret bytes.