Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

jschanck-si/logcvp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

If you load this into gp and call test(N) with N a power of 2 or a prime,it will:

  1. Compute an LLL reduced basis for the lattice generated by thecanonical cyclotomic units of the Nth cyclotomic field.

  2. Sample a generator, g, from a discrete Gaussian distribution withvariance similar to what you might see in the GGH multilinear mapconstruction.

  3. Multiply that generator by a random unit, r (sampled using a discreteGaussian distribution on the exponent vector).

  4. Attempt to solve the CVP instance with target Log(g*r) usingBabai's nearest planes method.

  5. Print the L2 norms of g, g*r, and the recovered vector.

Success isn't guaranteed, so you might need to call test more than once.The precomputation is preserved between calls as long as you don'tchange the dimension, so repeated tests are pretty quick.

Pari isn't the fastest language, and this is just proof of concept code,so it maxes out around N=4096.

Setting the flag to 1 in a call to test (i.e calling test(N,1)) will printthe exponent vectors that Nearest Planes finds when called on r, the shortgenerator, and the recovered generator.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp