Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6366547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:26:07+00:00 2026-05-25T00:26:07+00:00

Is there an algorithm that will yield the same hash for two numbers, no

  • 0

Is there an algorithm that will yield the same hash for two numbers, no matter what order they are in?

For example, hashing 3268 and 2642 should yield the same result as hashing 2642 and 3268.

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:26:08+00:00Added an answer on May 25, 2026 at 12:26 am

    Of course, XOR does that.

     3268^2642 == 2642^3268
    

    There’s a lot more (addition, multiplication, basically any commutative operation), but XOR is usually used for hashing anyway (because it’s easy to “unhash”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an algorithm that will, if given two nodes on a graph, find
Is there an algorithm that is more time efficient than O(n^2) for detecting cycles
Suppose I have: Toby Tiny Tory Tily Is there an algorithm that can easily
Is there a practical algorithm that gives multiplication chains To clarify, the goal is
Is there a single algorithm that removes elements from a container as happens in
Is there an algorithm for accurately multiplying two arbitrarily long integers together? The language
Are there any algorithms that can help with hierarchical clustering? Google's map-reduce has only
Are there any algorithms or tools that can increase the resolution of an image
Are there any good references for synchronisation algorithms? I'm interested in algorithms that synchronize
I am wondering if there are any well-known algorithms that I should be aware

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.