Question Checklist
Question Subject
Why ivBytes
is not a public property on AES._CBC.IV
?
Question Description
I would expect ivBytes
to be public which would enable me to encode it to an external representation.
There is a workaround for this issue:
var copy = iv
let ivData = withUnsafeBytes(of: ©) { Data($0) }