Damus
Sirius · 2w
nhash is a blossom hash of a video file's merkle root + decryption key. /video.mp4 is a filename hint. It's viewable on Iris or https://files.iris.to/#/nhash19j2003959cltp77c7dnlwrfwawqgleju7ethswdsr3...
SatsAndSports profile picture
Nice!

I'm going to have to steal that idea for CashuTube ๐Ÿ˜€, the site that serves HLS-encoded via (adaptive bandwidth) and which requires cashu payments

Of course, the server doesn't need to know the decryption key. And so web players could have the decryption key in the # portion of address.

https://cashutube.satsandsports.cash/
1โค๏ธ1
Sirius · 2w
Here's the ts & rust library https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree