SqlNetAllowWeakCrypto

This property allows or disallows weaker encryption and checksum algorithms for database connections.

Declaration

// C#
public static bool SqlNetAllowWeakCrypto { get; set; }

Property Type

System.Boolean

Remarks

When this parameter is true, ODP.NET can use weaker encryption and checksum algorithms to connect to Oracle database. When false, only stronger algorithms will be allowed to used for connections.

Default is true.

Encryption algorithms that ODP.NET supports and are considered weak:

  • 3DES 112-bit

  • 3DES 168-bit

No supported ODP.NET checksum algorithms are considered weak.

All other supported encryption and checksum algorithms are considered strong.