Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

U1024

A 1024-bit unsigned integer implementation for cryptographic operations.This struct represents a large integer by storing it as eight 128-bit limbs, enabling operations on values that exceed the standard 256-bit limit. # Fields - limb0 through limb7: Individual 128-bit components of the number # Structure The number is stored in little-endian format: - limb0: Least significant 128 bits - limb7: Most significant 128 bits # Usage This type is primarily used for: - Cryptographic operations requiring extended precision - Zero-knowledge proof calculations - Large number arithmetic in privacy-preserving systems

Fully qualified path: obscura::custom_type::u1024::U1024

#[derive(Debug, Drop, Clone, Copy, PartialEq, Serde)]
pub struct U1024 {
    limb0: u128,
    limb1: u128,
    limb2: u128,
    limb3: u128,
    limb4: u128,
    limb5: u128,
    limb6: u128,
    limb7: u128,
}