Home

Encryption algorithms should be used with secure mode and padding scheme

Rule description

  • Encryption algorithms should be used with secure mode and padding scheme

 

Non-compliant Code Example

CrypterObject lnv_CrypterObject
lnv_CrypterObject = Create CrypterObject
lblb_encrypt = lnv_CrypterObject.SymmetricEncrypt(AES!, lblb_data, lblb_key, &
	OperationModeCBC!, lblb_iv, PKCSPadding!) //Can't use PKCSPadding
Visual Expert 2020
 VEPBRULE12