Giter Club home page Giter Club logo

Comments (4)

DongyunLee avatar DongyunLee commented on June 6, 2024

感谢反馈!
会尝试在即将到来的小版本中修复

from sm3-php.

DongyunLee avatar DongyunLee commented on June 6, 2024

空格问题已于1.1.1版本修复。确实是由于进行了过滤。

关于待处理字符串中出现换行的说明

值得一提的是,由于算法是按位的,所以在处理不同系统中的换行时,需要区分 LF/CR/CRLF
针对这三种系统中的换行,计算出来的值也是不同的。如:

[
    ["a\na"=>'c413edbaa5449ada676857e243ae8d66401d82474cc68c243950178280bf7ae0'],
    ["a\ra"=>'75056f768d1ac970ef2faf58ae4be4666afc157e2cb87b9e08c526463bf787da'],
    ["a\r\na"=>'d1041bb570f8c65e26299159e41e21961d0ce4b79a285ee32c75c11eab0a2dd7']
]

其中,Linux(\n)下的值,与苍墨安全中的计算结果相同。

Windows(\r\n)下、OS X(\n)下和Classic Mac(\r)无对照结果,暂时未测试,欢迎反馈。

@cblk 再次感谢反馈!

from sm3-php.

DongyunLee avatar DongyunLee commented on June 6, 2024

合并了pr #3 ,感谢贡献!
我再更新个1.1.2的小版本,加上你的PR。

from sm3-php.

DongyunLee avatar DongyunLee commented on June 6, 2024

1.1.2已 发版,感谢贡献!

from sm3-php.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.