Home
last modified time | relevance | path

Searched refs:hashResult (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-hash.md158 const hashResult = hs.digest();
160 console.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
189 const hashResult = hs.digest();
191 console.info(`hashResult: ${hashResult}`);
213 const hashResult = hs.digest();
215 console.info(`hashResult: ${hashResult}`);
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-hash.md158 const hashResult = hs.digest();
160 console.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
189 const hashResult = hs.digest();
191 console.info(`hashResult: ${hashResult}`);
213 const hashResult = hs.digest();
215 console.info(`hashResult: ${hashResult}`);
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dapp-file-access.md273 const hashResult = hs.digest();
275 console.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_utils.c248 uint8_t hashResult[SHA_256_HASH_LEN] = { 0 }; in LnnGenerateHexStringHash() local
254 ret = SoftBusGenerateStrHash(str, strlen((char *)str), hashResult); in LnnGenerateHexStringHash()
259 ret = ConvertBytesToHexString(hashStr, len + 1, hashResult, len / HEXIFY_UNIT_LEN); in LnnGenerateHexStringHash()
/ohos5.0/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c597 unsigned char hashResult[SHA_256_HASH_LEN] = {0}; in GenerateStrHashAndConvertToHexString() local
606 ret = SoftBusGenerateStrHash(str, strlen((char *)str), hashResult); in GenerateStrHashAndConvertToHexString()
611 ret = ConvertBytesToHexString((char *)hashStr, hashStrLen, (const unsigned char *)hashResult, in GenerateStrHashAndConvertToHexString()
/ohos5.0/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble_utils.c130 char hashResult[SHA_HASH_LEN] = {0}; in DiscBleGetDeviceIdHash() local
133 ret = SoftBusGenerateStrHash((const uint8_t *)udid, strlen(udid), (uint8_t *)hashResult); in DiscBleGetDeviceIdHash()
137 retMem = memcpy_s(devIdHash, len, hashResult, SHORT_DEVICE_ID_HASH_LENGTH); in DiscBleGetDeviceIdHash()
/ohos5.0/base/update/updater/services/package/pkg_verify/
H A Dpkcs7_signed_data.h32 DataBuffer hashResult; member
/ohos5.0/docs/en/application-dev/file-management/
H A Dapp-file-access.md269 const hashResult = hs.digest();
271 console.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc_rw.c257 uint8_t hashResult[HKS_RKC_HASH_LEN] = {0}; in RkcExtractKsfHash() local
258 struct HksBlob hashResultBlob = { HKS_RKC_HASH_LEN, hashResult }; in RkcExtractKsfHash()
270 if (HksMemCmp(hashResult, ksfHash, HKS_RKC_HASH_LEN) != 0) { in RkcExtractKsfHash()