Learn R Programming

HomomorphicEncryption (version 0.9.0)

GenA: Generate a

Description

Generate a

Usage

GenA(n, q)

Value

polynomial of order x^^n with coefficients 0,..,q

Arguments

n

the order

q

the ciphermod of coefficients

Examples

Run this code
n = 16
q =  7
GenA(n, q)

Run the code above in your browser using DataLab