public class Cipher extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private int |
ct |
private byte[] |
key |
private byte |
keyOff |
private org.bouncycastle.math.ec.ECPoint |
p2 |
private org.bouncycastle.crypto.digests.SM3Digest |
sm3c3 |
private org.bouncycastle.crypto.digests.SM3Digest |
sm3keybase |
| 构造器和说明 |
|---|
Cipher() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Decrypt(byte[] data) |
void |
Dofinal(byte[] c3) |
void |
Encrypt(byte[] data) |
void |
Init_dec(BigInteger userD,
org.bouncycastle.math.ec.ECPoint c1) |
org.bouncycastle.math.ec.ECPoint |
Init_enc(SM2 sm2,
org.bouncycastle.math.ec.ECPoint userKey) |
private void |
NextKey() |
private void |
Reset() |
private int ct
private org.bouncycastle.math.ec.ECPoint p2
private org.bouncycastle.crypto.digests.SM3Digest sm3keybase
private org.bouncycastle.crypto.digests.SM3Digest sm3c3
private byte[] key
private byte keyOff
private void Reset()
private void NextKey()
public org.bouncycastle.math.ec.ECPoint Init_enc(SM2 sm2, org.bouncycastle.math.ec.ECPoint userKey)
public void Encrypt(byte[] data)
public void Init_dec(BigInteger userD, org.bouncycastle.math.ec.ECPoint c1)
public void Decrypt(byte[] data)
public void Dofinal(byte[] c3)
Copyright © 2023. All rights reserved.