Skip to content

Usage of DefaultHasher #20

@ernieIzde8ski

Description

@ernieIzde8ski

The OG genanki has a(n admittedly strange & somewhat broken) hash algorithm implemented from scratch, which, as far as I can tell, solves one issue: Python hashes are salted, and so are not consistent between runs. Similarly, genanki-rs uses DefaultHasher, which is not guaranteed to have a consistent implementation between compiler versions. This makes the implementation of guid_for in genank-rs unstable for repeated builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions