touch
V2EX  ›  问与答

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

  •  
  •   touch · Jun 2, 2015 · 3159 views
    This topic created in 4023 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
        1
    touch  
    OP
       Jun 2, 2015
    问题已结。pack('H*', md5('abc'))
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:13 · PVG 19:13 · LAX 04:13 · JFK 07:13
    ♥ Do have faith in what you're doing.