Modern constructions use secure techniques such as Optimal Asymmetric Encryption Padding ( OAEP ) to protect messages while preventing these attacks . Later versions of the standard include Optimal Asymmetric Encryption Padding ( OAEP ) , which prevents these attacks .