-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
53 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
# Checksum | ||
Prints checksum of the file based on Golang's crypto library and golang.org/x/crypto | ||
|
||
Prints checksum of the file based on Golang's crypto library and golang.org/x/crypto | ||
|
||
## Usage | ||
### Usage: checksum [OPTION] ... [FILE] | ||
Prints checksum of the file based on Golang's crypto library and golang.org/x/crypto. | ||
Defaults to SHA2-256 (256-bit) checksums. | ||
|
||
### Usage: checksum [OPTION] ... [FILE] | ||
|
||
Prints checksum of the file based on Golang's crypto library and golang.org/x/crypto. | ||
Defaults to SHA2-256 (256-bit) checksums. | ||
|
||
## Options: | ||
`-h, --help` - Displays this help command <br /> | ||
`-c, --checksum` - Checksum algorithm. Defaults to SHA2 256-bit checksum. | ||
`-f, --file` - Does a checksum on the file defined. Defaults to SHA2 256-bit checksum. | ||
|
||
`-h, --help` - Displays this help command <br /> | ||
`-c, --checksum` - Checksum algorithm. Defaults to SHA2 256-bit checksum. | ||
`-f, --file` - Does a checksum on the file defined. Defaults to SHA2 256-bit checksum. | ||
|
||
## Available checksums: | ||
md4 - Performs MD4 hash algorithm as defined in RFC 1320. | ||
md5 - Performs MD5 hash algorithm as defined in RFC 1321. | ||
sha1 - Performs SHA-1 hash algorithm as defined in RFC 3174. | ||
sha2-224 / sha224 - Performs SHA2-224 hash algorithms as defined in FIPS 180-4. | ||
sha2-256 / sha256 - Performs SHA2-256 hash algorithms as defined in FIPS 180-4. | ||
sha2-384 / sha384 - Performs SHA2-384 hash algorithms as defined in FIPS 180-4. | ||
sha2-512 / sha512 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. | ||
sha3-224 - Performs SHA3-224 hash algorithms as defined in FIPS 180-4. | ||
sha3-256 - Performs SHA3-256 hash algorithms as defined in FIPS 180-4. | ||
sha3-384 - Performs SHA3-384 hash algorithms as defined in FIPS 180-4. | ||
sha3-512 - Performs SHA3-512 hash algorithms as defined in FIPS 180-4. | ||
sha2-512_224 / sha512_224 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. | ||
sha2-512_256 / sha512_256 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. | ||
|
||
md4 - Performs MD4 hash algorithm as defined in RFC 1320. | ||
md5 - Performs MD5 hash algorithm as defined in RFC 1321. | ||
sha1 - Performs SHA-1 hash algorithm as defined in RFC 3174. | ||
sha2-224 / sha224 - Performs SHA2-224 hash algorithms as defined in FIPS 180-4. | ||
sha2-256 / sha256 - Performs SHA2-256 hash algorithms as defined in FIPS 180-4. | ||
sha2-384 / sha384 - Performs SHA2-384 hash algorithms as defined in FIPS 180-4. | ||
sha2-512 / sha512 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. | ||
sha3-224 - Performs SHA3-224 hash algorithms as defined in FIPS 180-4. | ||
sha3-256 - Performs SHA3-256 hash algorithms as defined in FIPS 180-4. | ||
sha3-384 - Performs SHA3-384 hash algorithms as defined in FIPS 180-4. | ||
sha3-512 - Performs SHA3-512 hash algorithms as defined in FIPS 180-4. | ||
sha2-512_224 / sha512_224 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. | ||
sha2-512_256 / sha512_256 - Performs SHA2-512 hash algorithms as defined in FIPS 180-4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= | ||
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= | ||
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= | ||
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= | ||
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= | ||
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |