Dar-Xs / RSA-Web-Chat

有时我们需要传递隐私数据(如密钥),为了防止潜在的隐私泄漏,需要使用基于非对称加密算法的端到端加密。这里提供了一个Web解决方案,你可以将其部署在任意服务器上,双方使用浏览器安全的交换数据。

Home Page:https://rsa.chat.darxs.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSA-Web-Chat

背景和目的

有时我们想和好友共享自己的账号,这就需要想办法让好友知道我们的账号密码。

如果好友就在身边,那可太妙了:我们可以用U盘拷贝或者直接把密码念一遍; 若是非常不巧,好友远在天边,我们就只能通过一些通信软件,在网络上传递账号密码。

但是密码是一种非常隐私的数据,我们不希望自己的密码在互联网上留下明文痕迹。 为了防止潜在的隐私泄漏,我们希望在传递密码时对数据进行加密。

成果

这里提供了一个Web解决方案,你可以将其部署在任意服务器上。

双方使用浏览器传递隐私数据时,将使用RSA端到端加密。

初始原文

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

cd vue
npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

有时我们需要传递隐私数据(如密钥),为了防止潜在的隐私泄漏,需要使用基于非对称加密算法的端到端加密。这里提供了一个Web解决方案,你可以将其部署在任意服务器上,双方使用浏览器安全的交换数据。

https://rsa.chat.darxs.cn

License:MIT License


Languages

Language:Vue 55.5%Language:TypeScript 23.6%Language:JavaScript 19.5%Language:HTML 1.2%Language:CSS 0.2%