Core Framework Encryption Service + Proxy server - with a Cryptonote twist
Find a file
google-labs-jules[bot] 3f39b81518 feat: Implement streaming API for Trix encoding/decoding
This commit introduces a streaming API to the `trix` package, making it more memory-efficient for large payloads.

-   Adds `EncodeTo(io.Writer)` and `DecodeFrom(io.Reader)` functions to handle streaming data.
-   Refactors the existing `Encode` and `Decode` functions to be wrappers around the new streaming API, ensuring backward compatibility.
-   Adds a specific `ErrInvalidHeaderLength` error to the `Decode` function to provide better error feedback.
-   Includes a comprehensive set of "Good, Bad, Ugly" tests for the new streaming functionality, including tests for failing readers and writers.
2025-11-02 01:40:08 +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 feat: Implement streaming API for Trix encoding/decoding 2025-11-02 01:40:08 +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 ./...