Laël Cellier on Fri, 18 Jul 2025 16:12:16 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: What's the code for doing the reverse of this code over the altbn128 curve
|
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: Re: What's the code for doing the reverse of this code over the altbn128 curve
- From: Laël Cellier <lael.cellier@gmail.com>
- Date: Fri, 18 Jul 2025 16:12:12 +0200
- Delivery-date: Fri, 18 Jul 2025 16:12:17 +0200
- Disposition-notification-to: Laël Cellier <lael.cellier@gmail.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752847934; x=1753452734; darn=pari.math.u-bordeaux.fr; h=in-reply-to:disposition-notification-to:content-language:references :reply-to:to:from:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=QQfjLre/Lo9CrAyp4MCgg/4oBD+gmDKEpQCq3Z2AdOE=; b=koz5N2eeohGs/OXamATP8yCde42yJhDqETsdP/ewVZJH/wDhGrZ0+4kNPtwLVVU+u7 HqAlhYEO3BDSVHODx6/iTeOlQpi9Z10Tnxvnn8n1TfREBpjvETGaHTq/zPDYdF/wC/mt PKnnd9bYm/IO+gs3BnJWW/NFX7K3Y0XjKQtdmArKLTc+RJBS8j1T9z7L4n7AcGY9E7Hi cLQxO1/Q9rmSq60hzJb9J7QQoNZYpjpq/2sVkwf8OjfQ5NCiC633BKC6Kj6FgPbeT7sY GMEbplOcxVIFS6I2yozwZI8BsbUTuFqWxrl4JV9GnSIvDNPGU6T4C47sQ0ufDb25+s5d AUCQ==
- In-reply-to: <c76f361b-daea-4cd1-8b5e-ce4896987783@gmail.com>
- References: <c76f361b-daea-4cd1-8b5e-ce4896987783@gmail.com>
- Reply-to: lael.cellier@laposte.net
- User-agent: Thunderbird Daily
Thank you, and this would work with any point having the correct
order ? or would this work only with points having coordinate
withing specific bounds ?
Dear Laël,
What you are looking for is ffinvmap:
? mapi = ffinvmap(map);
? twisti(pt) = [ffmap(mapi,pt[1]/w^2), ffmap(mapi,pt[2]/w^3)];
? pt3 = twisti(pt2);
? pt3 == pt
%15 = 1
Cheers,
Aurel