keygen, enc, eval, dec