code: def __init__(
      self,
      device: device_type,
      cipher_mapping: typing.Optional[dict] = None,
  ) -> None:
      self._device = device
      if cipher_mapping is None:
          self._cipher_mapping = {}
      else:
          self._cipher_mapping = cipher_mapping
      self._allow_custom_random_seed = False
      self._custom_random_seed = 42
  
      self.ctx = None
  
imports: import logging
  import typing
  from fate.arch.config import cfg
  from ..unify import device
label_desc: Use image node_id 1 to create a new CipherKit object  with example: obj = CipherKit(device, cipher_mapping)