I studied RSA and Diffie-Hellman key exchange from a quite old book (Discrete Mathematics by Berardi, Beutelspacher) and so I wonder if the recommended dimensions for the prime p and the secret numbers a and b of the DH key exchange and for the RSA's public key are still valid or not. The dimensions are 1024 for the prime in RSA and the same for the group of DH.
I tried to find an answer online but I found several different opinions. Can anyone share his knowledge and/or experience about it? I would appreciate also references to data from valid online resources.