I am doing some research in cryptography, and I was wondering this question. RSA 2048 encrypts a file with a 2048 bit key, while SHA-256 generates a fixed length digest with the size of 256 bits. I would assume RSA 2048 is more secure, because of the longer key, but why? why not?



Browse other questions tagged or ask your own question.