Salt Shaker
Developer
3rd Party (Free)
EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
- encryption, encrypt, encrypted, salt, drm, hash, cryptology, salting
ExpressionEngine plugin which encrypts a string using a custom salt key.
Description
ExpressionEngine plugin which encrypts a string using a custom salt key.
Installation
Copy the “salt_shaker” folder to your /system/expressionengine/third_party folder.
Usage
Use {exp:salt_shaker salt=‘random_salt_key’}content you want salted{/exp:salt_shaker} to output salted contents.
The salt can be anything, however I recommend grabbing a random alphanumeric from https://www.grc.com/passwords.htm for best results.
Examples
{exp:salt_shaker salt='T8asKa2PJOTwVCbvjEoZkPGANea2JQUouWh2wLh3tf0DglUOJCyOGBgBfaB1TTb'}teststring{/exp:salt_shaker}
This would return:
f56c623464c7a221b20dabd1d4b3faa9
Practical Uses
The sky’s the limit in terms of application. I initially put this together to generate unique license keys based on member usernames for a project I’m working on.
For super basic DRM, the client would send the username and license key, and serverside I’d match it against:
{exp:salt_shaker salt='random_salt_key'}{username}{/exp:salt_shaker}
In this situation, the salt would never be exposed to the client, and since EE usernames are unique, the resulting license key would also be unique.
Salt Shaker Links
This entry was created November 4, 2014, 4:29 pm.
This entry was last updated November 4, 2014, 4:29 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!