# Package net.i2p.crypto.eddsa.math.bigint

Generic mathematical implementation using Java BigIntegers for arbitrary elliptic curves.

See: Description

- Class Summary
  Class | Description
  --- | ---
  BigIntegerFieldElement | A particular element of the field \Z/(2^255-19).
  BigIntegerLittleEndianEncoding | Little-endian encoding implementation for EdDSA field elements using BigInteger.
  BigIntegerScalarOps | BigInteger-based implementation of scalar operations for EdDSA cryptography.

## Package net.i2p.crypto.eddsa.math.bigint Description

Generic mathematical implementation using Java BigIntegers for arbitrary elliptic curves.

This package provides a low-level, non-optimized implementation of elliptic curve mathematical operations using Java's built-in BigInteger class. The implementation is designed to work with any elliptic curve, making it suitable for testing, compatibility, or curves without specialized optimizations.

Characteristics:

- Generic Support: Works with any elliptic curve parameters
- BigInteger Based: Uses standard Java BigInteger arithmetic
- Reference Implementation: Clear, readable mathematical operations
- Compatibility: Ensures correctness across different curve types

Usage:

- Testing and verification of optimized implementations
- Support for non-standard curves
- Educational purposes and algorithm understanding
- Fallback implementation when optimizations are unavailable

Note: This implementation is currently unused in production I2P code. For Curve25519 operations, the optimized ed25519 implementation provides significantly better performance.