Home Online Manual
Top
Back: multidimensional_knapsack
Forward: naccache_stern_encryption
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.2.47 naccache_stern_generation

Procedure from library crypto.lib (see crypto_lib).

Usage:
naccache_stern_generation(key, primenum)

Return:
a hard knapsack list

Example:
 
LIB "crypto.lib";
naccache_stern_generation(5,292);
==> 0
naccache_stern_generation(5,293);
==> [1]:
==>    85
==> [2]:
==>    164
==> [3]:
==>    117
==> [4]:
==>    44