-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From Ricardo Branco in PR pkg/57963. Closes #129. This Go program uses goroutines to calculate multiple hashes on strings, files and directories. The output format is fully configurable.
- Loading branch information
Showing
6 changed files
with
77 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This Go program uses goroutines to calculate multiple hashes on strings, files | ||
and directories. The output format is fully configurable. |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# $NetBSD: Makefile,v 1.1 2024/03/01 15:51:25 bsiegert Exp $ | ||
|
||
DISTNAME= xhash-3.3.2 | ||
CATEGORIES= security | ||
MASTER_SITES= ${MASTER_SITE_GITHUB:=ricardobranco777/} | ||
GITHUB_TAG= v${PKGVERSION_NOREV} | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= https://github.com/ricardobranco777/xhash | ||
COMMENT= Faster hashing with Goroutines | ||
LICENSE= mit | ||
|
||
.include "go-modules.mk" | ||
|
||
.include "../../lang/go/go-module.mk" | ||
.include "../../mk/bsd.pkg.mk" |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2024/03/01 15:51:25 bsiegert Exp $ | ||
bin/xhash |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
$NetBSD: distinfo,v 1.1 2024/03/01 15:51:25 bsiegert Exp $ | ||
|
||
BLAKE2s (github.com_klauspost_cpuid_v2_@v_v2.0.12.mod) = c8dbb87bd6708c91aeccc02a0d92aed495bbda06306462a24b178484a216efbd | ||
SHA512 (github.com_klauspost_cpuid_v2_@v_v2.0.12.mod) = ea6ebb6052f7fad38d19d3e149a40aeeb52f804388b0086ba22f83e5fcfcb8ea3af154f7fa35b667b38e9a0f95cbdf387a38ce04a82fc34025d72bbad68b2b8f | ||
Size (github.com_klauspost_cpuid_v2_@v_v2.0.12.mod) = 46 bytes | ||
BLAKE2s (github.com_klauspost_cpuid_v2_@v_v2.0.12.zip) = eeac615f5288f67580f14501907b15b650501d8df1239b10ee25c239529c9d67 | ||
SHA512 (github.com_klauspost_cpuid_v2_@v_v2.0.12.zip) = 17cbae7a5101cbe85a1eec84968dee79a6f23b0991eef63eba94719d82a6170c9ac3b07d4db408e920053c79ed7873bc200542dc6f037db6efcf4f6cedfdba3c | ||
Size (github.com_klauspost_cpuid_v2_@v_v2.0.12.zip) = 352606 bytes | ||
BLAKE2s (github.com_spf13_pflag_@v_v1.0.5.mod) = 1b1abf476b994d1f08514612e3291343509d867ac0dbe4ebd4316f0e296a4486 | ||
SHA512 (github.com_spf13_pflag_@v_v1.0.5.mod) = 8071c316d33aff1d8ffcabaeb42e8f9320465d83600cb57ac5ef071569f948d5cfd69e1bd2e92855c061395c1b814e84d1705f42e37f00d5bc713b6e724f29f5 | ||
Size (github.com_spf13_pflag_@v_v1.0.5.mod) = 39 bytes | ||
BLAKE2s (github.com_spf13_pflag_@v_v1.0.5.zip) = 4b3cdadae11a8d2432c380818c116751885b01f307e8c59fb626cc10f07dfc44 | ||
SHA512 (github.com_spf13_pflag_@v_v1.0.5.zip) = 9a81f0635ca8ac059c48a15cbf625a7c91513f95a9b402ba166d48ab72d5d38cbd941d5309446f5637bd7c23eef35b60fef2f06e8b557f415dd8409a6ddf43e9 | ||
Size (github.com_spf13_pflag_@v_v1.0.5.zip) = 88931 bytes | ||
BLAKE2s (github.com_zeebo_assert_@v_v1.1.0.mod) = 15de252dbce978f356b98c06de0087b890bb876781e1f66d4ad433d61cfdbadc | ||
SHA512 (github.com_zeebo_assert_@v_v1.1.0.mod) = d6aa7c9136feab2a9d11e0575e6a8a1044c7e211d5b64b1e932ba5bcde966c635c8ca9caa27c32adfa80770ae48dc523c7ff31869a64171ba0cdcce6f82b3944 | ||
Size (github.com_zeebo_assert_@v_v1.1.0.mod) = 40 bytes | ||
BLAKE2s (github.com_zeebo_blake3_@v_v0.2.3.mod) = 71b1c2c8d62615a4334abe2e2df7b481f3a5e391313c3723aafdfde5c9003917 | ||
SHA512 (github.com_zeebo_blake3_@v_v0.2.3.mod) = 10fccccebc175f7b9a93a9a1a6952df300230b919001873f32cbce51fecebe04da814ba6fe407b9548e747369ef78ad6e4fda73910d2c10928c74edf57e26b38 | ||
Size (github.com_zeebo_blake3_@v_v0.2.3.mod) = 153 bytes | ||
BLAKE2s (github.com_zeebo_blake3_@v_v0.2.3.zip) = 2b81492e672bcd7d204e9554f607a10b2110a62121952267ab40d5006bc5645d | ||
SHA512 (github.com_zeebo_blake3_@v_v0.2.3.zip) = 8aef4942cc71026eaa3e727b3e65ee042b4d24aa148ca00e0e1a2c8a4108e3f2b47bf8deb5c2533bffaa01d1c3413cccff14d906dbe5628f1c99fe6686a978f8 | ||
Size (github.com_zeebo_blake3_@v_v0.2.3.zip) = 109300 bytes | ||
BLAKE2s (github.com_zeebo_pcg_@v_v1.0.1.mod) = c123203979ccb2074dc5c95253636365b649cc5bc1ec0726786d3c1562ed9f24 | ||
SHA512 (github.com_zeebo_pcg_@v_v1.0.1.mod) = cc6efc8e1c47bb382fb0cc11deb5e7331e856bf691ae60a361114c6e704d70ad603089c86d93b362f19290f00e0ee8df07586bc822875f49560dc477deb0fc81 | ||
Size (github.com_zeebo_pcg_@v_v1.0.1.mod) = 77 bytes | ||
BLAKE2s (golang.org_x_crypto_@v_v0.19.0.mod) = 58db0e3ca1e5e04344b4a570cf42442ff2e893a4ea7cdd5c1004f36efba0e0fc | ||
SHA512 (golang.org_x_crypto_@v_v0.19.0.mod) = 65043a9ae37d0d89caa5ca0d7894d1b636a84a3e409217591a0c32c23a76a8062d3900ef1b31bf32632e3e57eac90d364e10e45e7722a380a3013dde66c7be9a | ||
Size (golang.org_x_crypto_@v_v0.19.0.mod) = 190 bytes | ||
BLAKE2s (golang.org_x_crypto_@v_v0.19.0.zip) = d8b4dbe7743bf7350dbb7b5e595d62eff5a02ea34830fa10561342c16dbc68ce | ||
SHA512 (golang.org_x_crypto_@v_v0.19.0.zip) = 2dde3a47f673dc71951be4653def12ae856dbe108593553aa4af0b11d92046a9cd193c7fccb156960ad081eacee68e53841c96fd648741e3ec1453ed3e2ab354 | ||
Size (golang.org_x_crypto_@v_v0.19.0.zip) = 1797936 bytes | ||
BLAKE2s (golang.org_x_sys_@v_v0.17.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1 | ||
SHA512 (golang.org_x_sys_@v_v0.17.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b | ||
Size (golang.org_x_sys_@v_v0.17.0.mod) = 33 bytes | ||
BLAKE2s (golang.org_x_sys_@v_v0.17.0.zip) = 767d1c3bee81bc64d2215b09e8444a83013af31616cb4c2678467155c452b53a | ||
SHA512 (golang.org_x_sys_@v_v0.17.0.zip) = 543aa067b9418be517e5d01f7f9d37e9dfaac1244872a74157f18501af52e97893a2d4850f49586d3100d8dcce0891663cdf609348a733e633ea7dffc6e340b5 | ||
Size (golang.org_x_sys_@v_v0.17.0.zip) = 1905235 bytes | ||
BLAKE2s (xhash-3.3.2.tar.gz) = 753e687673f5dd1f391a121c9ecd26e4e0a47bc1d9fa12219b0ad36c48da4f3e | ||
SHA512 (xhash-3.3.2.tar.gz) = 524932ee251f5d1d7b258172c65884eb4a94a16d2f839f206cea702b7b3e60619e6b25c7c009940d11ac4907184f9dc1044e74b153aa1ef0df9c9353cf645a48 | ||
Size (xhash-3.3.2.tar.gz) = 14889 bytes |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# $NetBSD: go-modules.mk,v 1.1 2024/03/01 15:51:25 bsiegert Exp $ | ||
|
||
GO_MODULE_FILES+= github.com/klauspost/cpuid/v2/@v/v2.0.12.mod | ||
GO_MODULE_FILES+= github.com/klauspost/cpuid/v2/@v/v2.0.12.zip | ||
GO_MODULE_FILES+= github.com/spf13/pflag/@v/v1.0.5.mod | ||
GO_MODULE_FILES+= github.com/spf13/pflag/@v/v1.0.5.zip | ||
GO_MODULE_FILES+= github.com/zeebo/assert/@v/v1.1.0.mod | ||
GO_MODULE_FILES+= github.com/zeebo/blake3/@v/v0.2.3.mod | ||
GO_MODULE_FILES+= github.com/zeebo/blake3/@v/v0.2.3.zip | ||
GO_MODULE_FILES+= github.com/zeebo/pcg/@v/v1.0.1.mod | ||
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.19.0.mod | ||
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.19.0.zip | ||
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.17.0.mod | ||
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.17.0.zip |