Looks interesting! We're in the middle of building something similar right now for ourselves. We may look at this as an alternative for ourselves.
By the way, I saw this after a quick glance poking through the code. This isn't encryption, it is hashing. Not sure where or how it is used but it is worth a rename at least: https://github.com/bricks-cloud/BricksLLM/blob/main/internal...