I then extract the initializationvector (IV) into a byte array, block encrypt the clear data, and prefix the IV bytes to the encrypted data bytes.
随后我将初始向量(IV)抽取到字节数组,对明文数据进行块加密,并将iv字节置于加密的数据字节之前。
2
Symmetric algorithms require the creation of a key and an initializationvector (IV) that must be kept secret from anyone who should not decrypt your data.