shift

FixedRollKey.shift
Shows the shift value of the fixed roll key. The value is normalized by modulo operation within the range [0~slot count).
  • Type:
    • int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
fixed_roll_key = engine.create_fixed_roll_key(secret_key, shift=1)
shift = fixed_roll_key.shift  # 1