I'd like to present you my tool (https://blockupload.io) that allows embedding files up to 1 MB in Bitcoin Cash transactions. The tool uses WebAssembly to compress files using LZMA, and optionally encrypts files using a combination of OCB3 and ChaCha20. If you wonder how it does this, it's by not including a checksum in the ChaCha20 layer, which shouldn't be a problem since it's intended for chosen-ciphertext invulnerable, un-side-channeled personal computers. Anyway, you can see how it encrypts here: https://github.com/DesWurstes/BlockUpload/blob/7d0e247b7f5e01d1d84932a780156a590ec7f844/exports.c#L67
(This tool is intended for legal use only)
I'd like to hear your comments on this, HN community. You can also look at r/btc's reaction here: https://www.reddit.com/r/btc/comments/bah8zw/store_files_up_to_1_mb_in_bch_blockchain_onchain/
This tool is useful for: - Static CDN - Personal immutable file storage