开放接口

This commit is contained in:
cheney
2022-11-04 18:27:51 +08:00
parent 3941c3bf33
commit 06e29e8821
7 changed files with 492 additions and 469 deletions
@@ -1,5 +1,7 @@
package com.sunyard.inf.cryption;
import com.sunyard.RetWrap;
/**
* Hash 算法接口
*/
@@ -68,4 +70,6 @@ public interface SydHashApi {
public void MACCheck(int alg, int keyType, String AK, int fullMode, byte[] infoData, String mac);
public String calcPBOCMAC(int mode, int keyType, String key, byte[] data, int block, byte[] iv);
public RetWrap countHash(int hashType, int packSn, byte[] msg, byte[] filterData);
}