need salt generated before using generate_random_key