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

High-performance, optimized mathematical implementation for Ed25519 using Radix 2^51 representation.

See: Description

- Class Summary
  Class | Description
  --- | ---
  Ed25519FieldElement | Class to represent a field element of the finite field $p = 2^{255} - 19$ elements.
  Ed25519LittleEndianEncoding | Helper class for encoding/decoding from/to the 32 byte representation.
  Ed25519ScalarOps | Class for reducing a huge integer modulo the group order q and doing a combined multiply plus add plus reduce operation.

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

High-performance, optimized mathematical implementation for Ed25519 using Radix 2^51 representation.

This package provides a low-level, highly optimized implementation of the mathematical operations required for Ed25519 signatures on Curve25519. The implementation uses Radix 2^51 representation for maximum performance on modern processors.

Key Features:

- Performance Optimization: Radix 2^51 representation for efficient arithmetic
- Curve25519 Support: Specialized implementation for Ed25519 curve
- Field Operations: Optimized finite field arithmetic
- Group Operations: Fast elliptic curve point operations

Components:

- Field Elements: Optimized representation and operations
- Group Elements: Efficient curve point arithmetic
- Scalar Operations: Fast scalar multiplication and addition

This implementation is significantly faster than the generic BigInteger-based approach and is used by default for Ed25519 operations in I2P. For other curves, see the bigint implementation.