InputBlockB Parameter (Protect-Data Cmdlet)
A block of data to encrypt.
Protect-Data -InputBlockB byte
This setting specifies a block of unencrypted data to encrypt. This may be used as an alternative to InputMessage or InputFile and allows encrypting block by block. This parameter accepts a byte array. The encrypted block is provided in the OutputBlock object.
Input and Output Parameters
The cmdlet will determine the source and destination of the input and output based on which parameters are set.
The order in which the input parameters are checked is as follows:OutputFile is specified, otherwise it is returned in the OutputMessage object.