How do you prepend an IV to the ciphertext in Go?

180 views Asked by At

I would really appreciate the help. I have the following code running. Unfortunately, I do not understand how to properly prepend the IV to the ciphertext. Line 1 is the plaintext. Line 2 is the encrypted plaintext in terms of DES (which is wrong). Line 3 is the decryption of Line 2.

**output** 1 Yolandi Visser 2 AAAAAAAAAAAfiIMmXF4ZPYOcypF5JA== 3 Yolandi Visser

1

There are 1 answers

0
phil o.O On

@JimB thank you for your clarifications! I ended up rewording the question here and found my answer.