Spécifier l’algorithme de hachage du chiffrement CNG : valeur de Registre hashalgorithm (ms project\security\crypto)UtilisateurHKCU\software\policies\microsoft\office\16.0\ms project\security\crypto
- ID de stratégie
- L_SpecifyCNGHashAlgorithm
- Étendue
- Configuration utilisateur
- Pris en charge sur
- Au minimum Windows Server 2008 R2 ou Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Catégorie
- Microsoft Project 2016 › Options Project › Sécurité › Chiffrement
Registre
hashalgorithm
REG_SZUtilisateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- -
| Entrée | Valeur stockée |
|---|---|
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| SHA512 | SHA512 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\security\crypto] ; Options (en utiliser une seule) ; SHA1 "hashalgorithm"="SHA1" ; SHA256 "hashalgorithm"="SHA256" ; SHA384 "hashalgorithm"="SHA384" ; SHA512 "hashalgorithm"="SHA512"
CMD
:: Options (en utiliser une seule) :: SHA1 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA1" /f :: SHA256 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA256" /f :: SHA384 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA384" /f :: SHA512 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA512" /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\security\crypto' -Force | Out-Null # Options (en utiliser une seule) # SHA1 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA1' -Force | Out-Null # SHA256 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA256' -Force | Out-Null # SHA384 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA384' -Force | Out-Null # SHA512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA512' -Force | Out-Null