You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be an issue upstream (which I raised there: davidaurelio/hashids-python#43), but may be worth knowing (and maybe documenting) here too. Advice such as:
HASHID_FIELD_SALT = "a long and secure salt value that is not the same as SECRET_KEY"
...isn't strictly true. Only the first 43 characters of whatever salt you supply are actually used. It remains to be seen if this is a bug, or undocumented feature (or me misunderstanding), but may save someone some time if they're trying things like salt=settings.HASHID_FIELD_SALT + 'something_else' in an attempt to have multiple salts in their application.
The text was updated successfully, but these errors were encountered:
This appears to be an issue upstream (which I raised there: davidaurelio/hashids-python#43), but may be worth knowing (and maybe documenting) here too. Advice such as:
...isn't strictly true. Only the first 43 characters of whatever salt you supply are actually used. It remains to be seen if this is a bug, or undocumented feature (or me misunderstanding), but may save someone some time if they're trying things like
salt=settings.HASHID_FIELD_SALT + 'something_else'
in an attempt to have multiple salts in their application.The text was updated successfully, but these errors were encountered: