File encryption with a browser.

I've been exploring the #WebCryptoAPI and I'm impressed!

When combined with the #FileSystemAPI, it offers a seemingly secure way to #encrypt and #store files directly on your device. Think #localstorage, but with #encryption!

I know #webapps can have #security vulnerabilities since the code is served over the web, so I've #OpenSourced my demo! You can check it out, and it should even work if #selfhosted on #GitHubPages.

Live Demo: https://dim.positive-intentions.com/?path=/story/usefs--encrypted-demo

Demo Code: https://github.com/positive-intentions/dim/blob/staging/src/stories/05-Hooks-useFS.stories.js

Hook Code: https://github.com/positive-intentions/dim/blob/staging/src/hooks/useFS.js

IMPORTANT NOTES (PLEASE READ!):
* This is NOT a product. It's for #testing and #demonstration purposes only.
* It has NOT been reviewed or audited. Do NOT use for sensitive data.
* The "password encryption" currently uses a hardcoded password. This is for demonstration, not security.
* This is NOT meant to replace robust solutions like #VeraCrypt. It's just a #proofofconcept to show what's possible with #browser #APIs.

#Encryption #Cryptography #JavaScript #Frontend #Privacy #Security #WebDevelopment #Coding #Developer #Tech #FOSS #OpenSource #GitHub #MastodonDev #Programming #WebStandards #FileSystem #WebAPI #ProofOfConcept

@storybook/core - Storybook

- YouTube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

The Many, Confusing File System APIs

There are many APIs that interact with the file system, and figuring out what they all do can be deeply frustrating. Don’t give up! I’m here to help.

Cloud Four
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon
GitHub - KristofferStrube/Blazor.FileSystem: A Blazor wrapper for the File System browser API.

A Blazor wrapper for the File System browser API. Contribute to KristofferStrube/Blazor.FileSystem development by creating an account on GitHub.

GitHub