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.