touch
V2EX  ›  问与答

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

  •  
  •   touch · Jun 2, 2015 · 3521 views
    This topic created in 4198 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   ·   1088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:38 · PVG 07:38 · LAX 15:38 · JFK 18:38
    ♥ Do have faith in what you're doing.