Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HarmonyOS
Disallow the use of insecure 3DES encryption modes, such as 3DES|ECB. It is recommended that you use secure 3DES encryption modes, for example, 3DES|CBC. For details, see 3DES.
- // code-linter.json5
- {
- "rules": {
- "@security/no-unsafe-3des": "error"
- }
- }
This rule is not configurable.
- import cryptoFramework from '@ohos.security.cryptoFramework';
- cryptoFramework.createCipher('3DES|CBC');
- import cryptoFramework from '@ohos.security.cryptoFramework';
- cryptoFramework.createCipher('3DES|ECB');
- plugin:@security/recommended
- plugin:@security/all
For details about how to configure Code Linter check rules, see Running Code Linter.
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.