Christopher Chedeau 2dd1796351
Add encryption (#642)
* Add encryption

In order to avoid the server being able to read the content of the scene, this PR implements local encryption and decryption. This implements the algorithm described in #610.

Right now the server doesn't support uploading binary files. I mocked the server with comments. @lipis, could you add support on the server and update this PR? I added a bunch of TODO: that tell you where to comment/uncomment in order to get the server flow going.

To test locally right now:
- Import: Open http://localhost:3000/#json=1234,5oYVOnGpWYPPTz19-PMYYw and see a square
- Export: Click the export link and see the right url with the private key + the encrypted binary in the console

Fixes #610

* backend_v2

* v2
2020-02-05 07:35:51 -08:00
..
2020-01-25 09:52:03 -08:00
2020-02-03 09:52:21 -08:00
2020-02-03 09:52:21 -08:00
2020-01-15 07:42:02 -08:00
2020-01-15 07:42:02 -08:00
2020-01-26 17:14:31 -03:00
2020-01-29 02:26:02 +02:00
2020-01-25 19:37:58 -03:00
2020-01-15 07:42:02 -08:00
2020-01-15 07:42:02 -08:00
2020-01-24 12:04:54 +02:00
2020-02-05 07:35:51 -08:00