推荐关注
› Meteor
› JSLint - a JavaScript code quality tool
› jsFiddle
› D3.js
› WebStorm
推荐书目
› JavaScript 权威指南第 5 版
› Closure: The Definitive Guide
SeanGeek

求 3DES 算法解密的 javascript 实现

  •  
  •   SeanGeek · Dec 30, 2015 · 4947 views
    This topic created in 3971 days ago, the information mentioned may be changed or developed.

    刚接触 js 最近在做项目时遇到了后台传来数据需要用 3DES 算法解密的坑,网上找了一推代码都不能用,求大神帮忙!

    19 replies  •  2015-12-30 21:39:29 +08:00
    PublicID
    PublicID
    Dec 30, 2015
    1
    你就是懒 谷歌第一个就能用 你把网站的 js 扒下来不就行了
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    2
    @PublicID 早已扒,这个代码用不了
    PublicID
    PublicID
    Dec 30, 2015
    3
    @SeanGeek 敢不敢说下为什么用不了,不提供任何信息,上来就说用不了,你看这个帖子还能有几个人回复
    PublicID
    PublicID
    Dec 30, 2015
    4
    iv 是啥, key 是啥,用的什么加密模式,搞明白就能解密了
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    5
    @PublicID 谢谢 我浮躁着急了
    lululau
    lululau
    Dec 30, 2015
    8
    好奇浏览器端 JS 加解密有什么样的应用场景?
    zonghua
    zonghua
    Dec 30, 2015
    9
    @lululau 很多都用了前端加密啊,微博登录就是
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    10
    @lululau 不是浏览器端 最近在用 React Native 做移动端 用到了这个
    amaranthf
    amaranthf
    Dec 30, 2015
    11
    话说回来为什么使用 3des ,这个算法的安全性早就被证明不行了啊,为什么不用 aes
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    12
    @amaranthf 哈 项目后台使用的是 3des 我是前端
    latyas
    latyas
    Dec 30, 2015
    13
    前端用?密钥不就暴露了么?
    latyas
    latyas
    Dec 30, 2015
    14
    前后段通信加密常用的要不就上 HTTPS 要不就 RSA 吧
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    15
    @latyas 怎么会暴露密钥
    chinawrj
    chinawrj
    Dec 30, 2015
    16
    3DES 被秒破。什么系统还在用这个。
    SeanGeek
    SeanGeek
    OP
    Dec 30, 2015
    17
    @chinawrj 曾经的老项目 之前停掉了 现在领导要我用 React Naive 重写两个移动端 后台用的还是 老的后台
    latyas
    latyas
    Dec 30, 2015
    18
    对称加密要双方共享密钥啊,密钥存在本地找出来不是很方便。
    dqh3000
    dqh3000
    Dec 30, 2015
    19
    npmjs

    browserify-cipher
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2164 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 12:36 · PVG 20:36 · LAX 04:36 · JFK 07:36
    ♥ Do have faith in what you're doing.