Core Framework Encryption Service + Proxy server - with a Cryptonote twist
Find a file
google-labs-jules[bot] d66acec498 feat: Add checksums and asymmetrical sigils to Trix container
This commit enhances the Trix container with two new features for improved data integrity and flexibility:

1.  **Configurable Checksums:**
    - The `Trix` struct now has a `ChecksumAlgo` field to specify a hash algorithm.
    - If set, `Encode` computes a checksum of the payload and adds it to the header.
    - `Decode` verifies this checksum, returning an error if it doesn't match, ensuring data integrity during transit.

2.  **Asymmetrical Sigils:**
    - The `Sigils` field has been replaced with `InSigils` and `OutSigils` to support different transformation chains for packing and unpacking.
    - If `OutSigils` is not set, `Unpack` defaults to using the `InSigils` chain to maintain the previous symmetrical behavior.

These features make the `Trix` container a more robust and self-verifying format for internal data transfer.
2025-10-31 02:55:58 +00:00
.dataset Switching machines, ffmpeg + readable byte stream 2022-01-24 07:43:24 +00:00
.github docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +00:00
.ideas docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +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: Add checksums and asymmetrical sigils to Trix container 2025-10-31 02:55:58 +00:00
pkg feat: Add checksums and asymmetrical sigils to Trix container 2025-10-31 02:55:58 +00:00
vault docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +00:00
.gitignore docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +00:00
DISCLAIMER.md 42 2022-01-23 21:49:14 +00:00
go.mod docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +00:00
go.sum feat: Add ChaCha20-Poly1305 encryption 2025-10-30 19:01:08 +00:00
go.work docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +00:00
LICENCE Create LICENCE 2022-01-23 13:07:49 +00:00
README.md docs: Enhance README and add future improvements log 2025-10-30 23:12:44 +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 ./...