V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
touch
V2EX  ›  问与答

python 的 md5 中 digest 转换成 php 的这么写

  •  
  •   touch · 2015-06-02 14:54:21 +08:00 · 2415 次点击
    这是一个创建于 3249 天前的主题,其中的信息可能已经有所发展或是发生改变。
    hashlib.md5('abc').digest()
    换成php应该怎么写?
    1 条回复    2015-06-02 15:22:44 +08:00
    touch
        1
    touch  
    OP
       2015-06-02 15:22:44 +08:00
    问题已结。pack('H*', md5('abc'))
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1808 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:33 · PVG 00:33 · LAX 09:33 · JFK 12:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.