How I creat a custum secret started with EE
Private research annotation
Sign in to add a private research label or note.
- User
How I creat a custum secret started with EE
Assistant
Based on the repository content, I can help you create a custom secret for MTProto proxy that starts with "EE". Here's how:
- Open the
config.pyfile - In the
USERSdictionary, you can add your custom user with a 32-character hex secret - The secret must be exactly 32 hex characters (0-9 and a-f)
For a secret starting with "EE", you can create something like:
pythonUSERS = { "mycustom": "ee000000000000000000000000000000", # You can replace zeros with any valid hex characters (0-9, a-f) }Important notes from the code:
- The secret must be exactly 32 hex characters long
- If you provide an invalid secret, the proxy will automatically fix it by:
- Removing non-hex characters
- Padding with zeros to reach 32 characters
- Taking only the first 32 characters if longer
For example, you could use:
pythonUSERS = { "mycustom": "ee123456789abcdef0123456789abcdef" }Make sure to only use valid hexadecimal characters (0-9, a-f) after the "ee" prefix to avoid the proxy having to fix your secret automatically.
- Open the
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.