Comments (1)
暗号化したデータは、以下のように「ソルト,IV,暗号データ」という形式で保存されています。
bd2e7a36a458fe79536327b1c9dbcc8e,a033960a5126572048542cd7b601ced7,EBzhB9ext2CC2Z8ZPj0thuASHgVg7MM6sOd9n/EFzOQ=
この暗号データはCryptoJS.AES.encrypt
という関数を用いてAESで暗号化した結果そのものであり、base64でエンコードしている訳ではありません(そのため、z
のような文字も使用されています)。
外部のライブラリを用いて、JavaScriptでファイルを圧縮することで無理やりバイナリ化することはできますが、クライアント側の端末はサーバーに比べると性能が劣っていることも考慮し、本サービスにおいてはサーバー側でデータを圧縮して保存しています。
https://github.com/ActiveTK/End2End.tech/blob/main/api/upload.php#L93
故に、既にサーバー側で圧縮して保存しているため、ディスクの使用効率は十分高いものであると考えられます。
from end2end.tech.
Related Issues (14)
- アップロードが出来ないバグ HOT 4
- テーマ機能と英語の対応。
- WebTorrentの対応。 HOT 2
- タイポグラフィ HOT 1
- ファイルが正しく復号されない (正当性エラー) HOT 1
- パスワードチェックエラー HOT 2
- 提案: 改ざん検知機能付き共通鍵暗号の利用 HOT 1
- IP制限の解除
- アップロード後の表示について HOT 2
- ドキュメントについて HOT 1
- バグの報告 HOT 2
- ローカルでのセットアップ方法について HOT 6
- 最大ダウンロード回数に小数を指定できてしまう HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from end2end.tech.