Aracılığıyla paylaş


SecureRandomSpi.EngineGenerateSeed(Int32) Method

Definition

Returns the given number of seed bytes.

[Android.Runtime.Register("engineGenerateSeed", "(I)[B", "GetEngineGenerateSeed_IHandler")]
protected abstract byte[]? EngineGenerateSeed (int numBytes);
[<Android.Runtime.Register("engineGenerateSeed", "(I)[B", "GetEngineGenerateSeed_IHandler")>]
abstract member EngineGenerateSeed : int -> byte[]

Parameters

numBytes
Int32

the number of seed bytes to generate.

Returns

Byte[]

the seed bytes.

Attributes

Remarks

Returns the given number of seed bytes. This call may be used to seed other random number generators.

Java documentation for java.security.SecureRandomSpi.engineGenerateSeed(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.

Applies to