Adding create salt method.