Salt Shaker



3rd Party (Free)

EE Version Support

  • ExpressionEngine 2


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


  • jQuery for the Control Panel

Add-On Type(s)



ExpressionEngine plugin which encrypts a string using a custom salt key.


ExpressionEngine plugin which encrypts a string using a custom salt key.


Copy the “salt_shaker” folder to your /system/expressionengine/third_party folder.


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 for best results.


{exp:salt_shaker salt='T8asKa2PJOTwVCbvjEoZkPGANea2JQUouWh2wLh3tf0DglUOJCyOGBgBfaB1TTb'}teststring{/exp:salt_shaker}

This would return:


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, 5:29 pm.
This entry was last updated November 4, 2014, 5: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 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 to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!