91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11KB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-02
  • 語言: Java
  • 標簽: OATH??OTP??Java??

資源簡介

OATH標準資料整理的OTP算法Java工程代碼。完整Eclipse工程代碼,使用JCE。包括:HOTP(事件OTP),TOTP(時間OTP)和 OCRA(挑戰與應答OTP)。

資源截圖

代碼片段和文件信息

/**
Copyright?(c)?2011?IETF?Trust?and?the?persons?identified?as
authors?of?the?code.?All?rights?reserved.
Redistribution?and?use?in?source?and?binary?forms?with?or?without
modification?is?permitted?pursuant?to?and?subject?to?the?license
terms?contained?in?the?Simplified?BSD?License?set?forth?in?Section
4.c?of?the?IETF?Trust’s?Legal?Provisions?Relating?to?IETF?Documents
(http://trustee.ietf.org/license-info).
?*/
import?javax.crypto.Mac;
import?javax.crypto.spec.SecretKeySpec;
import?java.math.BigInteger;

/**
?*?This?an?example?implementation?of?OCRA.?Visit?www.openauthentication.org?for
?*?more?information.
?*?
?*?@author?Johan?Rydell?PortWise
?*/
public?class?OCRA?{
private?OCRA()?{
}

/**
?*?This?method?uses?the?JCE?to?provide?the?crypto?algorithm.?HMAC?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????307??2011-12-16?11:39??OTPProject\.classpath
?????文件?????????386??2011-12-06?18:26??OTPProject\.project
?????文件????????8298??2011-12-07?09:21??OTPProject\src\OCRA.java
?????文件????????7675??2011-12-07?09:15??OTPProject\src\TOTP.java
?????文件???????10931??2011-12-07?09:30??OTPProject\src\TestOCRA.java
?????文件????????1083??2011-12-07?09:21??OTPProject\src\org\openauthentication\otp\OTPTest.java
?????文件????????6473??2011-12-06?18:32??OTPProject\src\org\openauthentication\otp\OneTimePasswordAlgorithm.java

評論

共有 條評論