Extension package to perform operations on Big Numbers in either binary form or Binary Coded Decimal (BCD) form, and perform parity computations.
The javacardx.framework.math package contains the BCDUtil class, the BigNumber class, the BigNumber class. The BCDUtil class provides methods for converting array data from hexadecimal format to BCD and vice versa. The BigNumber class encapsulates a large unsigned value for performing arithmetic operations on it. The ParityBit class is useful for computing the parity bits used for example for redundancy and error detection.
Class Summary Class Description
BCDUtil
The BCDUtil class contains common BCD(binary coded decimal) related utility functions.
BigNumber
The BigNumber class encapsulates an unsigned number whose value is represented in internal hexadecimal format using an implementation specific maximum number of bytes.
ParityBit
The ParityBit class is a utility to assist with DES key parity bit generation.