InputBlockB Parameter (Protect-Data Cmdlet)
A block of data to encrypt.
Syntax
Protect-Data -InputBlockB byte[]
Remarks
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:
- InputBlockB
- InputFile
- InputMessageB
- InputMessage
Default Value
null