Core Framework Encryption Service + Proxy server - with a Cryptonote twist
This commit introduces several improvements to the RSA implementation: - Preserves zero-value service safety by lazily initializing the RSA service in `pkg/crypt/crypt.go`. - Enforces a minimum RSA key size of 2048 bits in `pkg/crypt/std/rsa/rsa.go` to prevent the generation of insecure keys. - Exposes the OAEP label parameter in `Encrypt` and `Decrypt` functions, allowing for more advanced use cases. - Adds a test case to verify that `GenerateKeyPair` correctly rejects key sizes below the new minimum. |
||
|---|---|---|
| .dataset | ||
| .github | ||
| .run | ||
| docs | ||
| examples | ||
| pkg | ||
| vault | ||
| .gitignore | ||
| DISCLAIMER.md | ||
| go.mod | ||
| go.sum | ||
| go.work | ||
| go.work.sum | ||
| LICENCE | ||
| README.md | ||
| Taskfile.yml | ||
Enchantrix
Enchantrix is a Go-based encryption library for the Core framework, designed to provide a secure and easy-to-use framework for handling sensitive data in Web3 applications. It will feature Poly-ChaCha stream proxying and a custom .trix file format for encrypted data.
Test-Driven Development
This project follows a strict Test-Driven Development (TDD) methodology. All new functionality must be accompanied by a comprehensive suite of tests.
Getting Started
To get started with Enchantrix, you'll need to have Go installed. You can then run the tests using the following command:
go test ./...