Package io.github.pratiyush.totp
@NullMarked
package io.github.pratiyush.totp
Production-Ready TOTP Library - Null Safety Declaration.
This package provides a secure, RFC 6238 compliant TOTP implementation with constant-time verification and replay attack prevention.
This package uses jSpecify annotations for null safety:
@NullMarked- All types are non-null by default@Nullable- Explicitly marks nullable types
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Pratiyush Kumar Singh
- See Also:
-
ClassDescriptionSupported HMAC algorithms for TOTP generation.Thread-safe in-memory implementation of
ReplayGuard.Generates QR codes for TOTP secrets compatible with authenticator apps.Interface for preventing TOTP code replay attacks.Secure generator for TOTP secrets.Main entry point for TOTP operations.Builder for creating TOTP instances.Result of a TOTP verification with additional details.Immutable configuration for TOTP generation and verification.Builder for creatingTOTPConfiginstances.Exception thrown for TOTP-related errors.Error codes for programmatic error handling.