public class SM3 extends Object implements Digest
| Constructor and Description |
|---|
SM3() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Digest digest) |
byte[] |
digest() |
String |
getAlgorithm() |
int |
getBlockSize() |
void |
init() |
void |
sm3(byte[] data,
byte[] digest) |
void |
update(byte[] data) |
void |
update(byte[] data,
int start,
int len) |
public void update(byte[] data)
throws Exception
public void update(byte[] data,
int start,
int len)
throws Exception
public byte[] digest()
throws Exception
public int compareTo(Digest digest)
compareTo in interface Comparable<Digest>public int getBlockSize()
getBlockSize in interface DigestInformationpublic String getAlgorithm()
getAlgorithm in interface AlgorithmNameProviderCopyright © 2008–2025 The Apache Software Foundation. All rights reserved.