generate a 1024 bit rsa key packet tracer
R1>en
R1#conf t
R1(config)#crypto key generate rsa
The name for the keys will be: R1TajulIslam.networking.pka
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
R1(config)#