Compartir a través de


SecureRandomSpi.EngineSetSeed(Byte[]) Method

Definition

Reseeds this random object.

[Android.Runtime.Register("engineSetSeed", "([B)V", "GetEngineSetSeed_arrayBHandler")]
protected abstract void EngineSetSeed (byte[]? seed);
[<Android.Runtime.Register("engineSetSeed", "([B)V", "GetEngineSetSeed_arrayBHandler")>]
abstract member EngineSetSeed : byte[] -> unit

Parameters

seed
Byte[]

the seed.

Attributes

Remarks

Reseeds this random object. The given seed supplements, rather than replaces, the existing seed. Thus, repeated calls are guaranteed never to reduce randomness.

Java documentation for java.security.SecureRandomSpi.engineSetSeed(byte[]).

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.

Applies to