11. Populate
iv
with random bytes.
12. Create the
IvParameterSpec
with the random
iv
so that you can use it when
performing the encryption.
Now
that you have created
keySpec
and
ivSpec
it’s time to use them to encrypt a
note. In
the next step, add the code to create a
Do'stlaringiz bilan baham: