o1-labs / o1js

TypeScript framework for zk-SNARKs and zkApps
https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp
Apache License 2.0
474 stars 106 forks source link

Add frame bit to encryption method #1704

Open Trivo25 opened 5 days ago

Trivo25 commented 5 days ago

This PR introduces a naive frame bit to the encrypt and decrypt method. The last message block is marked by an additional 1