类 Cipher
- java.lang.Object
-
- cool.doudou.doudada.cipher.algorithm.sm.Cipher
-
public class Cipher extends java.lang.ObjectCipher- 从以下版本开始:
- 2022/08/31
- 作者:
- jiangcs
-
-
构造器概要
构造器 构造器 说明 Cipher()
-
-
-
方法详细资料
-
initEnc
public org.bouncycastle.math.ec.ECPoint initEnc(Sm2 sm2, org.bouncycastle.math.ec.ECPoint userKey)
-
encrypt
public void encrypt(byte[] data)
-
initDec
public void initDec(java.math.BigInteger userD, org.bouncycastle.math.ec.ECPoint ecPointC1)
-
decrypt
public void decrypt(byte[] data)
-
doFinal
public void doFinal(byte[] outBytes)
-
-