Added passing custom salt