Skip to content

Commit e9ae6ca

Browse files
committed
Add output type description
1 parent c6125dc commit e9ae6ca

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

1-Draft/RFC-Get-StringHash.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ With the new cmdlet users can get hashes which:
3939

4040
## Specification
4141

42+
### Output
43+
44+
The cmdlet output objects of `StringHashInfo` type:
45+
46+
```powershell
47+
public class StringHashInfo
48+
{
49+
public string Algorithm { get; set;}
50+
public string Hash { get; set;}
51+
public string Encoding { get; set;}
52+
public string HashedString { get; set;}
53+
}
54+
```
55+
`Hash` is a hash of the `HashedString` string calculated with `Algorithm` algorithm.
56+
57+
`Encoding` is a encoding of the `HashedString` string.
58+
4259
### Parameters
4360

4461
1. InputString

0 commit comments

Comments
 (0)