public class SHA256 extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
String |
calculate() |
static byte[] |
SHA256(byte[] bytes) |
static byte[] |
SHA256(InputStream stream) |
static byte[] |
SHA256(String str) |
static String |
SHA256AsString(byte[] bytes) |
static String |
SHA256AsString(InputStream stream) |
static String |
SHA256AsString(String str) |
public SHA256(String sha256)
public static byte[] SHA256(byte[] bytes)
public static byte[] SHA256(String str)
public static byte[] SHA256(InputStream stream) throws MsToolsException
MsToolsExceptionpublic static String SHA256AsString(byte[] bytes)
public static String SHA256AsString(InputStream stream) throws MsToolsException
MsToolsExceptionpublic String calculate()
Copyright © 2024. All rights reserved.