Skip to content

Support for stronger algorithms in MessageDigestEncoder#102

Closed
schmittjoh wants to merge 2 commits intofabpot:masterfrom
schmittjoh:master
Closed

Support for stronger algorithms in MessageDigestEncoder#102
schmittjoh wants to merge 2 commits intofabpot:masterfrom
schmittjoh:master

Conversation

@schmittjoh
Copy link
Copy Markdown

This commit implements support for stronger / more modern algorithms by the use of the hash() function. It also replaces sha1 with sha256 as default algorithm.

See also http://groups.google.com/group/symfony-devs/browse_thread/thread/cfba48ca5c4f756b for reasoning.

If there are any code style errors, I'll be happy to fix them. Unfortunately, I could not run the test suite since it's not working for me on Windows 7.

Kind regards,
Johannes

@schmittjoh
Copy link
Copy Markdown
Author

I've considered the constructor as well, but then the entire constructor will need to be copy/pasted when overriding, just to get rid of the exception. You really want that? :)

@fabpot
Copy link
Copy Markdown
Owner

fabpot commented Oct 22, 2010

You are right. pushed. thanks.

fabpot pushed a commit that referenced this pull request Jul 30, 2023
This PR was merged into the 2.1-dev branch.

Discussion
----------

Fix for wrong type passed to moveTo()

Issue #102

Commits
-------

7f3b5c1 Fix for wrong type passed to moveTo()
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants