use std::random_device instead of mt19937 with time seed to generate a key salt