Skip to content

Creates short, obfuscated hashes of integers (as short as 6 characters for a 4-byte integer). Non-secure, intended to circumvent casual URL snooping.

Notifications You must be signed in to change notification settings

yangwk4464/django-id-obfuscator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install:

`$ python setup.py install`

To configure, make sure to put ID_OBFUSCATOR_KEY in the settings. You can generate a key by running id_obfuscator.utils.generate_secret_key()

Unlike a simple base conversion like Base58, id_obfuscator also uses an obfuscator key which ensures that adjacent ids are not simply off by one letter or number. Note that it is not secure and with enough ids with corresponding numbers, a hacker could figure out the correct ID. This is therefore recommended for lower security use.

About

Creates short, obfuscated hashes of integers (as short as 6 characters for a 4-byte integer). Non-secure, intended to circumvent casual URL snooping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%