All Packages Class Hierarchy This Package Previous Next Index
Interface cryptix.provider.rpk.RPKParams
- public interface RPKParams
An interface to centralise common RPK system constants.
References:
- William M. Raike,
The RPK Public-Key Cryptographic System - Technical Summary
(available at
http://crypto.swdev.co.nz).
- William M. Raike,
Detailed Supplemental Technical Description of the RPK Public-Key
Cryptographic System
(available at
http://crypto.swdev.co.nz).
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
- Author:
- Raif S. Naffah
-
DEFAULT_GRANULARITY
-
-
DEFAULT_KEY_SPECS
- Default RPK key generators/subkeys specifications
-
DEFAULT_SKIP_COUNT_MASK
- During an RPK cipher operation, and after each 256-byte block
is processed, a number of generator bytes are discarded, based
on the crc value for the entire preceding plaintext.
-
DEFAULT_STUTTER
-
-
DEFAULT_STUTTER_MASK
- Force stutter about 25% of the time.
-
LEVELS
- Individual values of L; i.e.
-
MAX_GRANULARITY
-
-
MID_TAPS
- Individual values of K, the mid-tap in an RPK non-
linear feedback shift register.
-
MIN_GRANULARITY
- The
granularity
property (with values from 1 to 8)
defines how many bits from the key's Generator
's
output sequence are to be combined with the input stream.
LEVELS
public static final int LEVELS[]
- Individual values of L; i.e. number of levels in an
RPK non-linear feedback shift register.
These values are Mersenne primes. They are used to
contribute in making the so formed LFSRs have a maximal period.
MID_TAPS
public static final int MID_TAPS[][]
- Individual values of K, the mid-tap in an RPK non-
linear feedback shift register. Other values are obtained by
substracting these ones from the corresponding LEVEL value.
These values are chosen so that the trinomial defined for the LFSR
is primitive.
DEFAULT_STUTTER_MASK
public static final int DEFAULT_STUTTER_MASK
- Force stutter about 25% of the time.
DEFAULT_STUTTER
public static final int DEFAULT_STUTTER
DEFAULT_KEY_SPECS
public static final int DEFAULT_KEY_SPECS[][]
- Default RPK key generators/subkeys specifications
MIN_GRANULARITY
public static final int MIN_GRANULARITY
- The
granularity
property (with values from 1 to 8)
defines how many bits from the key's Generator
's
output sequence are to be combined with the input stream. The
lower the granularity
value is, the less secure the
output becomes.
MAX_GRANULARITY
public static final int MAX_GRANULARITY
DEFAULT_GRANULARITY
public static final int DEFAULT_GRANULARITY
DEFAULT_SKIP_COUNT_MASK
public static final int DEFAULT_SKIP_COUNT_MASK
- During an RPK cipher operation, and after each 256-byte block
is processed, a number of generator bytes are discarded, based
on the crc value for the entire preceding plaintext. This number
is determined by masking the crc value with a mask given by the
skipCountMask property. The default value is 0x0F; i.e. from 0 to
15 generator bytes are skipped.
All Packages Class Hierarchy This Package Previous Next Index