Skip to content

Commit cc018bf

Browse files
matt9ucciSean Wheeler
authored andcommitted
Remove hash algorithms unsupported in v6.0 (#1873)
MACTripleDES and RIPEMD160 are no longer supported in v6.0.
1 parent 6e31c85 commit cc018bf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

reference/6/Microsoft.PowerShell.Core/About/About_Using.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ and to `[MemoryStream]` in *System.IO*.
4949
using namespace System.IO
5050
5151
[string]$string = "Hello World"
52-
[string]$algorithm = "SHA256" ## Valid values are "SHA1", "SHA256", "SHA384", "SHA512", "MACTripleDES", "MD5", "RIPEMD160"
52+
[string]$algorithm = "SHA256" ## Valid values are "SHA1", "SHA256", "SHA384", "SHA512", "MD5"
5353
5454
[byte[]]$stringbytes = [UnicodeEncoding]::Unicode.GetBytes($string)
5555

reference/6/Microsoft.PowerShell.Utility/Get-FileHash.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ The acceptable values for this parameter are:
127127
- SHA256
128128
- SHA384
129129
- SHA512
130-
- MACTripleDES
131130
- MD5
132-
- RIPEMD160
133131

134132
If no value is specified, or if the parameter is omitted, the default value is SHA256.
135133

@@ -139,7 +137,7 @@ For security reasons, MD5 and SHA1, which are no longer considered secure, shoul
139137
Type: String
140138
Parameter Sets: (All)
141139
Aliases:
142-
Accepted values: SHA1, SHA256, SHA384, SHA512, MACTripleDES, MD5, RIPEMD160
140+
Accepted values: SHA1, SHA256, SHA384, SHA512, MD5
143141

144142
Required: False
145143
Position: Named

0 commit comments

Comments
 (0)