Sdílet prostřednictvím


DESedeKeySpec.IsParityAdjusted(Byte[], Int32) Method

Definition

Checks if the given DES-EDE key, starting at offset inclusive, is parity-adjusted.

[Android.Runtime.Register("isParityAdjusted", "([BI)Z", "")]
public static bool IsParityAdjusted (byte[]? key, int offset);
[<Android.Runtime.Register("isParityAdjusted", "([BI)Z", "")>]
static member IsParityAdjusted : byte[] * int -> bool

Parameters

key
Byte[]

a byte array which holds the key value

offset
Int32

the offset into the byte array

Returns

true if the given DES-EDE key is parity-adjusted, false otherwise

Attributes

Exceptions

if the length of the key data starting at offset is less than 24.

Remarks

Checks if the given DES-EDE key, starting at offset inclusive, is parity-adjusted.

Java documentation for javax.crypto.spec.DESedeKeySpec.isParityAdjusted(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.

Applies to