Added the use of salt in encryption calls.