Home
last modified time | relevance | path

Searched refs:Random (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/base/notification/eventhandler/frameworks/test/moduletest/
H A Devent_handler_post_task_module_test.cpp61 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 Devent_handler_set_get_remove_module_test.cpp84 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 Devent_handler_test_common.h35 inline uint32_t Random() in Random() function
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-generate-random-number.md1 # 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 Dsync_process_delay_test.cpp74 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 Dasync_process_delay_test.cpp86 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 Dcrypto-generate-random-number.md45 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 Dcrypto-key-derivation-overview.md9 PBKDF2是将伪随机函数PRF(Pseudo-Random Function,例如基于散列的[HMAC](crypto-compute-mac.md)),输入密码明文和盐值,重复多次运算来进行密钥…
H A Dcrypto-aes-sym-encrypt-decrypt-ccm.md49 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 Dcrypto_manager_test.cpp32 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 Dudmf_utils.cpp41 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 Dudmf_utils.h25 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 Dsecurity_manager.cpp35 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 Dudmf_utils.cpp43 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 Dudmf_utils.h25 std::vector<uint8_t> Random(int32_t len, int32_t minimum = 0,
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Dasync-concurrency-overview.md23 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 Dcrypto_test.cpp39 vector<uint8_t> randomNumbers = Crypto::Random(len, min, max);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/
H A Dcrypto.h28 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 Dsecurity_manager.h37 std::vector<uint8_t> Random(int32_t len);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/utils/
H A Dcrypto.cpp25 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 Dhands_free_unit_calls.cpp24 : device_(device), id_(id), state_(state), number_(number), uuid_(Uuid::Random()), in HandsFreeUnitCalls()
H A Dbt_uuid.h108 static Uuid Random();
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dsecurity_manager.h68 std::vector<uint8_t> Random(int32_t len);
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md211 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 DREADME_zh.md104 …默认的查杀内存水线与可杀进程回收优先级对应关系如下表所示。未来,系统开发者和产品开发者可以根据内存RAM(Random Access Memory)规格、屏幕尺寸等需求通过修改xml配置修改该对应…

123