ChaCha20ParameterSpec(Byte[], Int32) Constructor
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.
Constructs a parameter set for ChaCha20 from the given nonce and counter.
[Android.Runtime.Register(".ctor", "([BI)V", "", ApiSince=35)]
public ChaCha20ParameterSpec (byte[]? nonce, int counter);
[<Android.Runtime.Register(".ctor", "([BI)V", "", ApiSince=35)>]
new Javax.Crypto.Spec.ChaCha20ParameterSpec : byte[] * int -> Javax.Crypto.Spec.ChaCha20ParameterSpec
Parameters
- nonce
- Byte[]
a 12-byte nonce value
- counter
- Int32
the initial counter value
- Attributes
Remarks
Constructs a parameter set for ChaCha20 from the given nonce and counter.
Java documentation for javax.crypto.spec.ChaCha20ParameterSpec.ChaCha20ParameterSpec(byte[], int)
.
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.