CipherSpi.EngineGetIV Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the initialization vector (IV) in a new buffer.
[Android.Runtime.Register("engineGetIV", "()[B", "GetEngineGetIVHandler")]
protected abstract byte[]? EngineGetIV ();
[<Android.Runtime.Register("engineGetIV", "()[B", "GetEngineGetIVHandler")>]
abstract member EngineGetIV : unit -> byte[]
Returns
the initialization vector in a new buffer, or null if the underlying algorithm does not use an IV, or if the IV has not yet been set.
- Attributes
Remarks
Returns the initialization vector (IV) in a new buffer.
This is useful in the context of password-based encryption or decryption, where the IV is derived from a user-provided passphrase.
Java documentation for javax.crypto.CipherSpi.engineGetIV()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.