V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
zrt
V2EX  ›  分享创造

用 Web Crypto API 和 Firebase realtime db 写了一个端到端加密聊天页面,欢迎来玩~

  •  
  •   zrt ·
    zrt · 2022-05-05 14:30:37 +08:00 · 1421 次点击
    这是一个创建于 694 天前的主题,其中的信息可能已经有所发展或是发生改变。

    群聊的实现方式是每个人把自己消息用其他所有人的 public key 分别加密再发出去。

    密钥目前是 4096bit RSA 。

    网址在:chat.ruotian.dev

    代码在:https://github.com/zrt/chat.ruotian.dev

    oxogenesis
        1
    oxogenesis  
       2022-05-09 13:30:02 +08:00   ❤️ 1
    端到端加密聊天的服务端应该可以私有化部署,不然没有意义
    https://github.com/oxogenesis/oxo-chat-app
    https://github.com/oxogenesis/oxo-chat-server

    你群聊的实现想法好像跟我类似,不过我没在 app 里做,只在 client 实现了
    https://github.com/oxogenesis/oxo-chat-client
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2822 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:34 · PVG 22:34 · LAX 07:34 · JFK 10:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.