Core Framework Encryption Service + Proxy server - with a Cryptonote twist
This commit introduces the concept of "sigils," which are programmable, pure-function transformers that can be applied to a Trix container's payload. - A `Sigil` interface with `In` and `Out` methods is defined in the `trix` package. - The `Trix` struct now includes a `Sigils` field to attach a chain of transformers. - The `Encode` function applies the `In` transformations before encoding the payload. - The caller is responsible for applying the `Out` transformations after decoding. This new feature provides a flexible and extensible data pipeline for `Trix` containers. The implementation is fully tested with the Good, Bad, and Ugly testing strategy. |
||
|---|---|---|
| .dataset | ||
| .github | ||
| .ideas | ||
| .run | ||
| docs | ||
| examples | ||
| pkg | ||
| vault | ||
| .gitignore | ||
| DISCLAIMER.md | ||
| go.mod | ||
| go.sum | ||
| go.work | ||
| 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 ./...