hashids icon indicating copy to clipboard operation
hashids copied to clipboard

Allow optional custom salt

Open millar opened this issue 10 years ago • 1 comments

Because I'm using this package in conjunction with the JS version, on the client side, I need to have matching salts but don't wish to expose my app's secret key to the world. This will now look for a package config specific salt before falling back to the app key.

Also mentioned in #21.

millar avatar Oct 14 '15 09:10 millar

@mitchellvanw could you merge this please?

Jellyfrog avatar Mar 10 '16 00:03 Jellyfrog