-
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.
Merge pull request #10 from D3vl0per/refactor
Total refact
- Loading branch information
Showing
123 changed files
with
14,639 additions
and
927 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Go Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.21.3 | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Run tests | ||
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
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,11 +1,11 @@ | ||
lint: | ||
golangci-lint run | ||
golangci-lint run --fix | ||
|
||
test: | ||
go test -cover ./... | ||
go clean -testcache && go test -race -cover ./... | ||
|
||
test-v: | ||
go test ./... -v | ||
go clean -testcache && go test ./... -v | ||
|
||
golangci-lint-install: | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
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,58 @@ | ||
# Go-Crypt | ||
# Go-Crypt (!!! WIP !!!) | ||
|
||
High-level API binding to low-level crypto APIs in golang | ||
This project is a comprehensive toolkit for developers who need to implement various cryptographic operations in their Go applications | ||
|
||
|
||
## Crypto suite: | ||
- Generic | ||
- (Secure) Overwrite | ||
- (Secure) Delete | ||
- CSPRNG | ||
- CSPRNGHex | ||
- /dev/hwrng | ||
- Encoders | ||
- Base64 | ||
- Base32 | ||
- Hex | ||
- Key Wrappers | ||
- ed25519 | ||
- PKIX | ||
- PKCS | ||
- Symmetric | ||
- XChacha20-poly1305 | ||
- XChacha20-poly1305 Stream (modified age code) | ||
- XOR | ||
- AES-GCM | ||
- Asymmetric | ||
- ECDSA | ||
- ed25519 | ||
- ed448 | ||
- ECDH | ||
- Curve25519 | ||
- Hash | ||
- Blake2b-256 | ||
- Blake2b-384 | ||
- Blake2b-512 | ||
- SHA3-256 | ||
- SHA3-384 | ||
- SHA3-512 | ||
- SHAKE-128 (planed) | ||
- SHAKE-256 (planed) | ||
- go_simhash (planed) | ||
- Argon2id | ||
- Scrypt (planed) | ||
- HKDF (planed) | ||
- Compression | ||
- flate | ||
- gzip | ||
- zlib | ||
- zstd | ||
- Aged | ||
- Age encryption suite | ||
- Age header obfuscation v1 | ||
|
||
## Disclaimer | ||
|
||
This project includes cryptographic operations that have not been independently audited. While every effort has been made to ensure the correctness and security of these operations, they are provided "as is". The author cannot guarantee their security and cannot be held responsible for any consequences arising from their use. If you use these package in your own projects, you do so at your own risk. | ||
|
||
It is strongly recommended that you seek an independent security review if you plan to use them in a production environment. |
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
Oops, something went wrong.