Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9377

org.springframework.cache.interceptor.DefaultKeyGenerator has too weak hashing functionality

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: Core
    • Last commented by a User:
      true

      Description

      Key generating has a weak hashing function. Next results are equal:

      generate( object1,method1,new Integer( 109 ),new Integer( 434)));
      generate( object1,method1,new Integer( 110 ),new Integer( 403)));

      It was pity to catch it on production...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwebb Phil Webb
                Reporter:
                macromaniac Andrey Karandey
                Last updater:
                Phil Webb
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 2 weeks, 3 days ago