AlexGustafsson / drop

A self-hosted, end-to-end encrypted personal file sharing service written in Go and TypeScript using React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite crypto implementation

AlexGustafsson opened this issue · comments

The crypto implementation uses a new state object each time, potentially leading to a higher memory load. Reuse the same state instead, bake in with a ChaCha instance like in Go, checking for rollback etc.

Superseeded by #12. Closing.