The TDCV2 tool is an open-source generator designed to create test data for databases, reports, and demos. It allows users to define data structures via configuration files, ensuring consistency across generated records. While the tool handles most data generation internally, it now supports an HTTP generator mode for values that require external logic, such as password hashes or secure tokens.

In this setup, the generator sends POST requests to an external service, which processes the data and returns the result. This architecture ensures that sensitive secrets, such as a server-side 'pepper' used in password hashing, never leave the secure environment. The generator sends batch requests of 10,000 rows, including headers like X-TDC-Seed, X-TDC-Offset, and X-TDC-Count to maintain consistency.

The external service must be stateless, calculating values based solely on the provided seed and row index. This approach guarantees that repeated runs produce identical files, even when processing is distributed across multiple requests or parallel threads. The service implementation must ensure that the logic for generating values remains deterministic regardless of the programming language used.

For instance, when generating a million user accounts for a test environment, the generator creates logins and salts, while the external service handles the scrypt-based hashing. By importing the application's native hashing module, the service ensures that the generated test data is fully compatible with the production authentication logic without exposing internal security parameters.