CipherPad(Byte, CipherAlgorithm, Padding) Method |
Pad byte array for block cipher.
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static byte[] Pad(
byte[] input,
CipherAlgorithm cipherAlg,
Padding pad
)
Public Shared Function Pad (
input As Byte(),
cipherAlg As CipherAlgorithm,
pad As Padding
) As Byte()
Parameters
- input Byte
- data to be padded
- cipherAlg CipherAlgorithm
- Block cipher being used
- pad Padding
- Padding method to use
Return Value
BytePadded data in byte array
See Also