Skip to content

We should rename std::hash::RandomSipHasher to something more generic #20050

Closed
@erickt

Description

@erickt

Right now HashMaps are tied to a specific algorithm implementation, std::hash::RandomSipHasher. While I believe SipHash is considered cryptographically secure, if it were ever to be broken it could be painful transitioning everyone into a new Hasher. Instead, I suggest we change it's name now to save us from headaches later on. Some possible names:

  • DefaultHasher
  • StandardHasher
  • StdHasher
  • RandomHasher

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-securityArea: Security (example: address space layout randomization).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions