create_rotation_key
GLEngine.create_rotation_key(secret_key, level)
- Creates a rotation key used for rotations along all 3 axes. Requires a secret key. The rotation key is internally composed of fixed rotation keys for each axis.
- Input
- GLSecretKey
- level: optional
- Creates the key with a reduced size to contain only the specified multiplication levels.
- Output
from desilofhe import GLEngine
engine = GLEngine()
secret_key = engine.create_secret_key()
rotation_key = engine.create_rotation_key(secret_key)
level_3_rotation_key = engine.create_rotation_key(secret_key, level=3)