-
-
Notifications
You must be signed in to change notification settings - Fork 5
Hash
Taiizor edited this page Mar 1, 2023
·
2 revisions
HashExtension
is a static class that provides extension methods for hashing operations.
Returns the MD5 hash of a file as a string.
-
Path
: The path of the file to hash. Default value isMHHM.Path
. -
Split
: The character(s) used to separate the hash string. Default value isMHHM.Split
. -
Upper
: Iftrue
, the hash string will be in uppercase. Default value isMHHM.Upper
. -
Invariant
: Iftrue
, the hash string will use the invariant culture. Default value isMHHM.Invariant
.
A string representing the MD5 hash of the file.
-
E
: If the file cannot be found or read.
Returns a task that asynchronously computes the MD5 hash of a file as a string.
-
Path
: The path of the file to hash. Default value isMHHM.Path
. -
Split
: The character(s) used to separate the hash string. Default value isMHHM.Split
. -
Upper
: Iftrue
, the hash string will be in uppercase. Default value isMHHM.Upper
. -
Invariant
: Iftrue
, the hash string will use the invariant culture. Default value isMHHM.Invariant
.
A task that represents the asynchronous operation. The task result contains a string representing the MD5 hash of the file.
Returns the SHA1 hash of a file as a string.
-
Path
: The path of the file to hash. Default value isMHHM.Path
. -
Split
: The character(s) used to separate the hash string. Default value isMHHM.Split
. -
Upper
: Iftrue
, the hash string will be in uppercase. Default value isMHHM.Upper
. -
Invariant
: Iftrue
, the hash string will use the invariant culture. Default value isMHHM.Invariant
.
A string representing the SHA1 hash of the file.
-
E
: If the file cannot be found or read.
- Tax
- Url
- Web
- Ping
- Port
- Text
- Time
- Hash
- Word
- Color
- Speed
- Lottery
- Storage
- Browser
- Unicode
- Password
- JavaScript
- Cryptology
- Typography
- Temperature
- Compression
- Decompression
- Cascading Style Sheets
- JavaScript Object Notation
- Hypertext Markup Language
- Extensible Markup Language
- Extensible HyperText Markup Language