Algorithm-Arena / weekly-challenge-4-encrypted-thread

1 stars 0 forks source link

Submission - Continuous Encrypted Thread #3

Open tobua opened 7 months ago

tobua commented 7 months ago

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 in sessionStorage.

Screenshot

Screenshot 2024-02-11 at 23 48 17
vjeux commented 6 months ago

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