Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSegmenthash ¶
func ProcessingData ¶
func ProcessingData(file string) ([]pattern.SegmentDataInfo, string, error)
Process the file according to CESS specifications.
Receive parameter:
- file: the file to be processed.
 
Return parameter:
- segmentDataInfo: segment and fragment information of the file.
 - string: [fid] unique identifier for the file.
 - error: error message.
 
func ShardedEncryptionProcessing ¶
func ShardedEncryptionProcessing(file string, cipher string) ([]pattern.SegmentDataInfo, string, error)
Process the file according to CESS specifications.
Receive parameter:
- file: the file to be processed.
 - cipher: encryption and decryption keys.
 
Return parameter:
- segmentDataInfo: segment and fragment information of the file.
 - string: [fid] unique identifier for the file.
 - error: error message.
 
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.