prepareDefaultPlainBlocksForAesEncryption#

prepare_default_plain_blocks_for_aes_encryption(inputs: List[numpy.ndarray[numpy.float64]], number_config: pyhelayers.NumberConfig) List[List[int]]#

Arranges the given inputs, containing tensors with numbers, into blocks of bytes to be encrypted under AES. Returns a deafult arrangement that does not consider how the data will be packed and used after decrypting the AES.

Parameters:
  • inputs – The inputs to arrange into blocks.

  • number_config – The number configuration describing the numbers.