Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.6.17+230426
Own server or LimeSurvey hosting: LimeSurvey Community Edition
Survey theme/template: Inherit everything
==================
Unfortunately, I have a very complicated task:
briefly summarised:
Verification of the user, encryption of the number entered and subsequent transmission of the encrypted number to the survey.
Problem:
I would like to check whether the user completing the survey is authorised or not. The user should verify himself. To do this, they must enter a six-digit number. The number entered is compared by the system. If the number matches, the user can start the survey.
But now it gets complicated: The six-digit number must be encrypted. The code has already been written by me and unfortunately cannot be shared here in the forum. In any case, the six-digit number is changed so that it then consists of 13 digits. I would now like to save this number in the survey.
My questions:
#How can I perform the verification query?
My solution: I use RegExp.
Example: /^(123456|234567|345678)$/
Problem: I have thousands of six-digit numbers that need to be entered. Is there a better approach for this task?
The figures are all saved in a CSV file. Can I upload the CSV file to LimeSurvey and then carry out the check?
#How can I encode the number in LimeSurvey after input and verification (now the number is expanded from 6 digits to 13 digits)?
Unfortunately, I am completely stuck here. Is there any way to change the number according to my procedure (my code)? Where can I insert my code?
#How can I submit/save the 13 digit number after encoding it in the survey?
I would have made a hidden comment field where the 13-digit number is transferred.
But again: Where can I insert the code? Do I insert the code under ‘Script’ or under ‘Source code’? If I enter the code under ‘Script’, what is the ID of the ‘Next’ button, what is the ID of the hidden field?
I know I have a lot of questions, but it's also a very complicated process that I unfortunately have to implement in exactly the same way.

At least the process should work in a similar way:
Verification with a six-digit number. After verification, the 6-digit number should be changed/encrypted to 13 digits. The encrypted number should then be transmitted to the survey.
I hope someone here is smart and helpful and can help me.