Javax.Crypto.KeyGenerator.Init Method
Initializes this KeyGenerator instance for the specified key size (in bits) using the specified randomness source.

Syntax

[Android.Runtime.Register("init", "(ILjava/security/SecureRandom;)V", "")]
public void Init (int keysize, Java.Security.SecureRandom random)

Parameters

keysize
the size of the key (in bits).
random
the randomness source for any random bytes.

Remarks

Initializes this KeyGenerator instance for the specified key size (in bits) using the specified randomness source.

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1