Algorithm: AES - CBC mode with PKCS7 padding
KeyValue:
10a58869d74be5a374cf867cfb473859
IV:
00000000000000000000000000000000
Plaintext:
00000000000000000000000000000000
Expected ciphertext:
6d251e6944b051e04eaa6fb4dbf78465
Three steps are used to compute the CBC Encrypt as mentioned below:
CBC_Start(Key,IV)
CBC_Update(Plaintext, plaintext length, Ciphertext, Ciphertextlength)
CBC_Finish(Ciphertext, Ciphertextlength)
Ciphertext is obtained when the update is finished, but when finish is completed, the ciphertext obtained is different from what is expected.
Why is this happening?