Crate lucky_commit[−][src]
Structs
Defines a desired target prefix for a commit hash.
A worker that, when invoked, will look in a predetermined search space to find a modification to a specific commit that matches a specific hash prefix.
The result of a successful hash search
The output data for a given hash function. N is the number of 32-bit words in the length.
Sha1 outputs consist of 5 32-bit words. Sha256 outputs consist of 8 32-bit words.
Enums
The hash type used for Sha1 git repositories (the default at the time of writing) This type is uninhabited, and is only intended to be used as a type parameter.
The hash type used for Sha256 git repositories. This type is uninhabited, and is only intended to be used as a type parameter.
Traits
A hash function used by git. This is a sealed trait implemented by Sha1 and Sha256.
The fields and methods on this trait are subject to change. Consumers should pretend that
the types implementing the trait are opaque.
Functions
Hashes a commit object using git’s object encoding, without adding padding or anything else