public class TOTP extends Object
public static void main(String[] args)
public static String generateMyTOTP(String code, String pass)
code - 账户pass - 密码public static boolean verifyTOTPRigidity(String code, String pass, String totp)
code - 账户pass - 密码totp - 待验证的口令Copyright © 2023 onecode. All rights reserved.