INNER CODE UNIT · Python

main

schollz/pake · ed25519_points.py:59

def main():
    print("Ed25519 Point Generation Demonstration")
    print("=" * 50)
    print()

    # Generate points from the known seeds
    seeds = ["croc1", "croc2"]
    expected_points = [
        41821174510521985817056358996007359290163947216650231187782646151092828043509,
        1456941786990260824647297143563623381366314063537015067473110401627488371271,
    ]

    print("Generating points from seeds:")
    for i, seed in enumerate(seeds):
        print(f"\nSeed: '{seed}'")

        # Generate scalar from seed
        scalar = hash_to_scalar(seed)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…