/ohos5.0/base/notification/eventhandler/frameworks/test/moduletest/ |
H A D | event_handler_post_task_module_test.cpp | 61 string taskName = std::to_string(Random()); 112 string taskName = std::to_string(Random()); 138 string taskName = std::to_string(Random()); 189 string taskName = std::to_string(Random()); 250 string taskName = std::to_string(Random()); 255 taskName = std::to_string(Random()); 281 string taskName = std::to_string(Random()); 286 taskName = std::to_string(Random()); 317 taskName = std::to_string(Random()); 348 taskName = std::to_string(Random()); [all …]
|
H A D | event_handler_set_get_remove_module_test.cpp | 84 bool allowSend = handler->SendEvent(Random()); 351 handler->RemoveEvent(Random()); 397 handler->RemoveEvent(Random(), param); 413 string taskName = std::to_string(Random()); 442 string taskName = std::to_string(Random());
|
H A D | event_handler_test_common.h | 35 inline uint32_t Random() in Random() function
|
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-generate-random-number.md | 1 # Secure Random Number Generation 7 Random numbers are used to generate temporary session keys and asymmetric encryption algorithm keys… 25 - Random seed 43 …ecture-kit/js-apis-cryptoFramework.md#cryptoframeworkcreaterandom) to create a **Random** instance. 45 2. (Optional) Use [Random.setSeed](../../reference/apis-crypto-architecture-kit/js-apis-cryptoFrame… 47 3. Use [Random.generateRandom](../../reference/apis-crypto-architecture-kit/js-apis-cryptoFramework…
|
/ohos5.0/foundation/ai/ai_engine/test/performance/delay/sync_process/ |
H A D | sync_process_delay_test.cpp | 74 static int Random(void) in Random() function 97 switch (Random() % CHAR_TYPE) { in RandStr() 99 str[i] = MIN_UPPER_CASE_CHAR + Random() % ALPHABET_LENGTH; in RandStr() 102 str[i] = MIN_LOWER_CASE_CHAR + Random() % ALPHABET_LENGTH; in RandStr() 108 str[i] = MIN_NUMERIC_CHAR + Random() % DIGIT; in RandStr()
|
/ohos5.0/foundation/ai/ai_engine/test/performance/delay/async_process/ |
H A D | async_process_delay_test.cpp | 86 static int Random(void) in Random() function 109 switch (Random() % CHAR_TYPE) { in RandStr() 111 str[i] = MIN_UPPER_CASE_CHAR + Random() % ALPHABET_LENGTH; in RandStr() 114 str[i] = MIN_LOWER_CASE_CHAR + Random() % ALPHABET_LENGTH; in RandStr() 120 str[i] = MIN_NUMERIC_CHAR + Random() % DIGIT; in RandStr()
|
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-generate-random-number.md | 45 2. (可选)设置DataBlob数据,调用[Random.setSeed](../../reference/apis-crypto-architecture-kit/js-apis-cryptoF… 47 3. 设置指定字节长度,调用[Random.generateRandom](../../reference/apis-crypto-architecture-kit/js-apis-cryptoFr…
|
H A D | crypto-key-derivation-overview.md | 9 PBKDF2是将伪随机函数PRF(Pseudo-Random Function,例如基于散列的[HMAC](crypto-compute-mac.md)),输入密码明文和盐值,重复多次运算来进行密钥…
|
H A D | crypto-aes-sym-encrypt-decrypt-ccm.md | 49 let rand: cryptoFramework.Random = cryptoFramework.createRandom(); 115 let rand: cryptoFramework.Random = cryptoFramework.createRandom();
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | crypto_manager_test.cpp | 32 static std::vector<uint8_t> Random(uint32_t len); 40 randomKey = Random(KEY_LENGTH); in SetUpTestCase() 48 std::vector<uint8_t> CryptoManagerTest::Random(uint32_t len) in Random() function in CryptoManagerTest
|
/ohos5.0/foundation/distributeddatamgr/udmf/adapter/framework/common/ |
H A D | udmf_utils.cpp | 41 std::vector<uint8_t> Random(int32_t len, int32_t minimum, int32_t maximum) in Random() function 54 std::vector<uint8_t> randomDevices = Random(ID_LEN, MINIMUM, MAXIMUM); in GenerateId()
|
H A D | udmf_utils.h | 25 std::vector<uint8_t> Random(int32_t len, int32_t minimum = 0,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 35 secKey = Random(KEY_SIZE); in GetDBPassword() 60 std::vector<uint8_t> SecurityManager::Random(int32_t len) in Random() function in OHOS::DistributedKv::SecurityManager
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_utils.cpp | 43 std::vector<uint8_t> Random(int32_t len, int32_t minimum, int32_t maximum) in Random() function 56 std::vector<uint8_t> randomDevices = Random(ID_LEN, MINIMUM, MAXIMUM); in GenerateId()
|
H A D | udmf_utils.h | 25 std::vector<uint8_t> Random(int32_t len, int32_t minimum = 0,
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | async-concurrency-overview.md | 23 reject(new Error('Random number is too small')); 37 console.info(`Random number is ${result}`);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | crypto_test.cpp | 39 vector<uint8_t> randomNumbers = Crypto::Random(len, min, max);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/ |
H A D | crypto.h | 28 API_EXPORT static std::vector<uint8_t> Random(int32_t len, int32_t minimum = 0,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
H A D | security_manager.h | 37 std::vector<uint8_t> Random(int32_t len);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/utils/ |
H A D | crypto.cpp | 25 std::vector<uint8_t> Crypto::Random(int32_t len, int32_t minimum, int32_t maximum) in Random() function in OHOS::DistributedData::Crypto
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | hands_free_unit_calls.cpp | 24 : device_(device), id_(id), state_(state), number_(number), uuid_(Uuid::Random()), in HandsFreeUnitCalls()
|
H A D | bt_uuid.h | 108 static Uuid Random();
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | security_manager.h | 68 std::vector<uint8_t> Random(int32_t len);
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-Java-secure-coding-guide.md | 211 Random number = new Random(123L); 248 Random number = new Random(123L); 280 Random number = new Random(123L); 2013 Random random = new Random(123456L); 2019 `Random`生成是不安全随机数,不能用做盐值。
|
/ohos5.0/foundation/resourceschedule/memmgr/ |
H A D | README_zh.md | 104 …默认的查杀内存水线与可杀进程回收优先级对应关系如下表所示。未来,系统开发者和产品开发者可以根据内存RAM(Random Access Memory)规格、屏幕尺寸等需求通过修改xml配置修改该对应…
|