Class au.net.aba.crypto.spec.RC4KeySpec
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.spec.RC4KeySpec
java.lang.Object
|
+----au.net.aba.crypto.spec.RC4KeySpec
- public class RC4KeySpec
- extends Object
- implements KeySpec
A class that provides a specification for a RC4 key.
-
ident
-
-
RC4KeySpec(byte[])
- Uses the first 16 bytes in key as the RC4 key
-
RC4KeySpec(byte[], int)
- Uses the first len bytes in key as the RC4 key
-
RC4KeySpec(byte[], int, int)
- Uses the first 16 bytes in key, beginning at offset, as the RC4 key
-
getKey()
- Returns the RC4 key.
ident
public final static String ident
RC4KeySpec
public RC4KeySpec(byte key[]) throws InvalidKeyException
- Uses the first 16 bytes in key as the RC4 key
RC4KeySpec
public RC4KeySpec(byte key[],
int len) throws InvalidKeyException
- Uses the first len bytes in key as the RC4 key
RC4KeySpec
public RC4KeySpec(byte key[],
int offset,
int len) throws InvalidKeyException
- Uses the first 16 bytes in key, beginning at offset, as the RC4 key
getKey
public byte[] getKey()
- Returns the RC4 key.
All Packages Class Hierarchy This Package Previous Next Index