sc25519_sqmul example

$_1100111 = self::sc25519_mul($_100$_1100011);
        $_1101011 = self::sc25519_mul($_100$_1100111);
        $_10010011 = self::sc25519_mul($_1000000$_1010011);
        $_10010111 = self::sc25519_mul($_100$_10010011);
        $_10111101 = self::sc25519_mul($_100110$_10010111);
        $_11010011 = self::sc25519_mul($_10110$_10111101);
        $_11100111 = self::sc25519_mul($_1010000$_10010111);
        $_11101011 = self::sc25519_mul($_100$_11100111);
        $_11110101 = self::sc25519_mul($_1010$_11101011);

        $recip = self::sc25519_mul($_1011$_11110101);
        $recip = self::sc25519_sqmul($recip, 126, $_1010011);
        $recip = self::sc25519_sqmul($recip, 9, $_10);
        $recip = self::sc25519_mul($recip$_11110101);
        $recip = self::sc25519_sqmul($recip, 7, $_1100111);
        $recip = self::sc25519_sqmul($recip, 9, $_11110101);
        $recip = self::sc25519_sqmul($recip, 11, $_10111101);
        $recip = self::sc25519_sqmul($recip, 8, $_11100111);
        $recip = self::sc25519_sqmul($recip, 9, $_1101011);
        $recip = self::sc25519_sqmul($recip, 6, $_1011);
        $recip = self::sc25519_sqmul($recip, 14, $_10010011);
        $recip = self::sc25519_sqmul($recip, 10, $_1100011);
        $recip = self::sc25519_sqmul($recip, 9, $_10010111);
        
Home | Imprint | This part of the site doesn't use cookies.