This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.ByteArrayOutputStream; | |
import java.math.BigInteger; | |
import java.util.Arrays; | |
public class SM3Alg { | |
private static class SingletonHolder { | |
private static final SM3Alg INSTANCE = new SM3Alg(); | |
} |