Skip to main content
4 votes

Why is the ciphertext output 32 bytes long when i encrypt a 16 bytes long plaintext by using AES-128-CBC

CBC mode requires A nonce ( it was stated as IV for CBC but it is nonce - number used once); so that we can have probabilistic encryption, i.e. even if we have the same plaintext and ciphertext we ...
kelalaka's user avatar
  • 49k
4 votes
Accepted

Can the RSA public key be used for both encryption and decryption?

The standard convention in asymmetric cryptography (thus RSA), is that key generation generates a key pair comprising a public key and a private key, and unless otherwise stated the public key is ...
fgrieu's user avatar
  • 142k
1 vote

Could this method allow two people using weak cryptography to bootstrap their way to unbreakable cryptography (e.g. otp)

The fundamental issue: Alice does not only have access to weak encryption. Alice has access to oh-so totally unbreakable for ever encryption. But she does have to have £5 (the going rate for complete ...
Paul Uszak's user avatar
  • 15.5k
1 vote

Why not flip random bits of the encrypted message for additional security? (hybrid system)

A variation of your idea called Key-Whitening was used by Ron Rivest (the R in RSA) to strengthen the DES by XORing an extra 64-bit key to the input and yet another extra 64-bit key to the output of ...
garfunkel's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible