In `final': wrong final block length (OpenSSL::Cipher::CipherError)

#1

plain = decipher.update(array_value) + decipher.final

i am not getting why i am getting error in this line of code

#2

Here’s the answer: