fixed salt problem in symmetric encryption method