Javax.Crypto.Spec.DESKeySpec.IsWeak Method
Returns whether the specified key data starting at offset is weak or semi-weak.

Syntax

[Android.Runtime.Register("isWeak", "([BI)Z", "")]
public static bool IsWeak (byte[] key, int offset)

Parameters

key
the key data.
offset
the offset to start checking at.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the length of the key data starting at offset is less than 8, or it is null.

Remarks

Returns whether the specified key data starting at offset is weak or semi-weak.

[Android Documentation]

Requirements

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