Especificar algoritmo de hash CNG: valor del Registro hashalgorithm (powerpoint\security\crypto)UsuarioHKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto
- Id. de directiva
- L_SpecifyCNGHashAlgorithm
- Ámbito
- Configuración de usuario
- Compatible con
- Al menos Windows Server 2008 R2 o Windows 7
- Origen
- Microsoft 365 Apps / Office Administrative Templates (versión 5568.1000)
- Categoría
- Microsoft PowerPoint 2016 › Opciones de PowerPoint › Seguridad › Criptografía
Registro
hashalgorithm
REG_SZUsuario- Valor al habilitar
- Depende del valor de la opción
- Elemento
- -
| Elemento de lista | Valor almacenado |
|---|---|
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| SHA512 | SHA512 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security\crypto] ; Opciones (usar solo una) ; SHA1 "hashalgorithm"="SHA1" ; SHA256 "hashalgorithm"="SHA256" ; SHA384 "hashalgorithm"="SHA384" ; SHA512 "hashalgorithm"="SHA512"
CMD
:: Opciones (usar solo una) :: SHA1 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA1" /f :: SHA256 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA256" /f :: SHA384 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA384" /f :: SHA512 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA512" /f
PowerShell
# Común: crear la clave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Force | Out-Null # Opciones (usar solo una) # SHA1 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA1' -Force | Out-Null # SHA256 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA256' -Force | Out-Null # SHA384 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA384' -Force | Out-Null # SHA512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA512' -Force | Out-Null