6.1.1.3.2.11. linotp.lib.feitian module¶
- This module can be used to create the optical challenge image for Feitian
c601 token.
c601: Either you can create a single challenge that will display the OTP response
calculate_optical_data(value=”12345678”)- or you can split the challenge into ACCOUNT and AMOUNT.
- calculate_optical_data(value=”12345”, type=ACCOUNT) calculate_optical_data(value=”67890”, type=AMOUNT)
The challenge then will be AMOUNT+ACCOUNT (6789012345)