Function run_keygen_collision_check

Source
pub fn run_keygen_collision_check<Id: Clone + FullCodec + PartialEq + Debug, Item: Clone + FullCodec + PartialEq + Debug, Salt: Clone + FullCodec + PartialEq + Debug, Hasher: Hash, T, Impl: KeyGenFor<Id, Item, Salt, Hasher, T>>(
    target: Id,
    item: Item,
    salt: Salt,
    dif_target: Id,
    dif_item: Item,
    dif_salt: Salt,
)
Expand description

Verifies input sensitivity of key generation.

Ensures that changes in any of the inputs (target, item, or salt) result in a different derived key.