touch
V2EX  ›  问与答

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

  •  
  •   touch · Jun 2, 2015 · 3522 views
    This topic created in 4199 days ago, the information mentioned may be changed or developed.
    hashlib.md5('abc').digest()
    换成php应该怎么写?
    1 replies  •  2015-06-02 15:22:44 +08:00
    touch
    touch
    OP
    Jun 2, 2015
    1
    问题已结。pack('H*', md5('abc'))
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4288 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:46 · PVG 15:46 · LAX 23:46 · JFK 02:46
    ♥ Do have faith in what you're doing.