Closed videni closed 4 years ago
Not as long as you don't change constructor arguments midway, the generated output will stay unique to your salt.
@vinkla @videni I've just encountered an exception for that when using very long salts. It is probably not a bug just something to keep an eye out for...
Context: I'm using this package to obscure resource IDs in some systems, constructing the hash dynamically as
"{$fullyQualifiedResourceClassName}::{$saltFromConfig}"
and just stumbled upon this in a larger app where there is a fairly deep folder structure.
does this mean a same number might get the same result for different salts?