Instance MethodSwift


Finalizes the hasher state and returns the hash value.

func finalize() -> Int


The hash value calculated by the hasher.


Finalizing consumes the hasher: it is illegal to finalize a hasher you don’t own, or to perform operations on a finalized hasher. (These may become compile-time errors in the future.)

Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.