The project uses some new tools: Bun, React, TypeScript, Rsbuild and Biome.
Description
This solution operates without the need for a server. Users can contribute one or more replies to an existing thread and subsequently share it. The replies are encrypted using the browser's crypto API, and users have the option to apply an additional password for added security. The resulting URL, containing the encrypted replies in the hash, can then be shared. Anyone possessing both the link and the password will have the ability to access and read the entire thread. Furthermore, additional users can contribute further replies and continue sharing them. To facilitate page reloads without losing the thread, entered passwords are temporarily stored in sessionStorage.
Congratz, you are the third place for the challenge! Let me know how I can send you $45. You can ping me on twitter (@vjeux) or email: vjeuxx@gmail.com
Hi there 👋 appreciate this challenge! Here is my solution:
Live Page: encrypted-thread-challenge.vercel.app Code: tobua/encrypted-thread-challenge Video: Video Download or 𝕏 Post
The project uses some new tools: Bun, React, TypeScript, Rsbuild and Biome.
Description
This solution operates without the need for a server. Users can contribute one or more replies to an existing thread and subsequently share it. The replies are encrypted using the browser's
crypto
API, and users have the option to apply an additional password for added security. The resulting URL, containing the encrypted replies in the hash, can then be shared. Anyone possessing both the link and the password will have the ability to access and read the entire thread. Furthermore, additional users can contribute further replies and continue sharing them. To facilitate page reloads without losing the thread, entered passwords are temporarily stored insessionStorage
.Screenshot