1.7 KiB
1.7 KiB
Registration Number Format
Secure Registration Number Generation
The system automatically generates a unique 12-character registration number for each announcement with enhanced security to prevent easy guessing.
Format Structure:
ENV + XXXXXXXXX
Where:
- ENV = Environmental document prefix (3 characters)
- XXXXXXXXX = 9 secure random alphanumeric characters (excluding similar-looking characters)
Character Pool:
- Uses:
23456789ABCDEFGHJKLMNPQRSTUVWXYZ - Excludes:
0, 1, I, O(to prevent confusion) - No lowercase letters (for consistency)
Examples:
- ENV4B7X9K2MQ - Secure random generation
- ENVH3K8P5W7R - Another secure random generation
- ENV9F2N6Y4MP - Each number is unpredictable
Security Features:
- Cryptographic Hash - Uses SHA-256 for randomness
- Timestamp Seed - Includes microtime for uniqueness
- Unpredictable - No date/time patterns visible
- No Sequential - Cannot guess next number
- Character Filtering - Excludes confusing characters
Technical Implementation:
- Generated using cryptographic hash functions
- Seeds include timestamp + microtime + random integers
- Character pool designed to avoid visual confusion
- Multiple entropy sources for maximum security
- Still maintains 12-character length requirement
Usage:
- Number is automatically generated when form is submitted
- Field is completely hidden from users (no manual interaction)
- System validates uniqueness before saving to database
- Success message shows the final registration number
- Each generation is completely unpredictable and secure
- No user interface for regeneration (fully automated)