Generating IVSpec from previous encryption operation

Using "AES/CBC/PKCS5Padding" encryption; was thinking there was a way of obtaining a good random IV for the next encryption operation from the previous. Anyone know how to get this byte[] or parameter spec?
[213 byte] By [kcook_stla] at [2007-11-27 9:54:18]
# 1

> Using "AES/CBC/PKCS5Padding" encryption; was thinking

> there was a way of obtaining a good random IV for the

> next encryption operation from the previous. Anyone

> know how to get this byte[] or parameter spec?

Why would you want to do this? I use SecureRandom to generate a random IV.

sabre150a at 2007-7-13 0:24:10 > top of Java-index,Security,Cryptography...