[3.9] Substitute random string generator by Randomlib