Efficient Constructions For Deterministic Parallel Random Number Generators And Quantum Key Distribution