Core Framework Encryption Service + Proxy server - with a Cryptonote twist
Find a file
google-labs-jules[bot] 6168a9d7fe refactor: Improve Trix tests and error handling
This commit introduces several improvements to the `trix` package, focusing on test coverage and robustness.

-   Adds a specific `ErrInvalidHeaderLength` error to the `Decode` function, providing clearer feedback when the header length is invalid.
-   Introduces a `TestPackUnpack_Ugly` test to ensure that calling `Pack` with a `nil` payload is handled gracefully.
-   Simplifies the `TestChecksum_Ugly` test by manually constructing a corrupted byte slice, making the test more direct and easier to understand.
-   Adds a new "Bad" test case to verify that the `Decode` function correctly handles invalid version numbers.
2025-11-02 01:11:20 +00:00
.dataset Switching machines, ffmpeg + readable byte stream 2022-01-24 07:43:24 +00:00
.github feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
.run Switching machines, ffmpeg + readable byte stream 2022-01-24 07:43:24 +00:00
docs feat: Implement generic .trix file format 2025-10-31 01:06:23 +00:00
examples feat: Implement Go encoding types as Sigils 2025-10-31 15:19:30 +00:00
pkg refactor: Improve Trix tests and error handling 2025-11-02 01:11:20 +00:00
vault feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
.gitignore feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
DISCLAIMER.md 42 2022-01-23 21:49:14 +00:00
go.mod feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
go.sum feat: Add ChaCha20-Poly1305 encryption 2025-10-30 19:01:08 +00:00
go.work feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
LICENCE Create LICENCE 2022-01-23 13:07:49 +00:00
README.md feat: Expand test coverage for chachapoly 2025-10-30 19:35:51 +00:00
Taskfile.yml feat: Add checksums and asymmetrical sigils to Trix container 2025-10-31 02:55:58 +00:00

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 ./...