harmony 鸿蒙crypto_digest.h
crypto_digest.h
Overview
Provides APIs for message digest (MD) algorithms.
Library: libohcrypto.so
System capability: SystemCapability.Security.CryptoFramework
Since: 12
Related module: CryptoDigestApi
Summary
Types
Name | Description |
---|---|
typedef struct OH_CryptoDigest OH_CryptoDigest | Defines an MD. |
Functions
Name | Description |
---|---|
OH_Crypto_ErrCode OH_CryptoDigest_Create (const char *algoName, OH_CryptoDigest **ctx) | Creates an MD instance based on the given algorithm name. |
OH_Crypto_ErrCode OH_CryptoDigest_Update (OH_CryptoDigest *ctx, Crypto_DataBlob *in) | Updates the data used for generating an MD. |
OH_Crypto_ErrCode OH_CryptoDigest_Final (OH_CryptoDigest *ctx, Crypto_DataBlob *out) | Generates an MD. |
uint32_t OH_CryptoDigest_GetLength (OH_CryptoDigest *ctx) | Obtains the length of an MD. |
const char * OH_CryptoDigest_GetAlgoName (OH_CryptoDigest *ctx) | Obtains the digest algorithm. |
void OH_DigestCrypto_Destroy (OH_CryptoDigest *ctx) | Destroys an MD instance. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Crypto Architecture Kit (Crypto Architecture Service)
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦