主权项 |
1. A method performed on a communication device, the method comprising:
receiving, by a first module of the communication device, a unified passcode, encoding the unified passcode using a first hash to generate a first encoded passcode, and the first module configured to be unlocked when the first encoded passcode matches a first stored encoded passcode; generating, via the first module, a second encoded passcode at least partially based on a second hash of the unified passcode and based on an offset that is received, the second hash different from the first hash, by encoding the unified passcode using the second hash to generate the second encoded passcode, the second encoded passcode different from the first encoded passcode, the offset based on a difference between the second hash of the unified passcode and a stored reference code associated with a universal integrated circuit card (UICC); and automatically unlocking access, via the second encoded passcode, to the UICC when the second encoded passcode matches a second stored encoded passcode, the UICC connected to the communication device, to allow the communication device to access at least one function of the UICC. |