add ff_random_get_seed to be used in conjunction with random functions