createIV() now calls Core::randBytes() to generate the random bytes used
to create an IV