Skip to content

Commit c618641

Browse files
authored
Deprecate cipher an hash algorithms
CAST-128, Triple DES, HAVAL, MD4, RIPEMD-128, RIPEMD-160, Tiger
1 parent 473a21c commit c618641

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎src/O2/DataModel/uO2Defs.pas‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ interface
5252
ocSerpent = TO2Cipher($11);
5353
ocTEA = TO2Cipher($12);
5454
ocTwofish = TO2Cipher($13);
55-
ocDefault = ocBlowfish;
55+
ocDefault = ocRijndael;
5656

5757
DeprecatedCiphers: set of TO2Cipher = [
5858
ocBlowfish,
59+
ocCast128,
5960
ocDES,
61+
oc3DES,
6062
ocIce,
6163
ocThinIce,
6264
ocMisty1,
@@ -81,8 +83,13 @@ interface
8183
ohDefault = ohSHA256;
8284

8385
DeprecatedHashes: set of TO2Hash = [
86+
ohHaval,
87+
ohMD4,
8488
ohMD5,
85-
ohSHA1
89+
ohRipeMD128,
90+
ohRipeMD160,
91+
ohSHA1,
92+
ohTiger
8693
];
8794

8895
var

0 commit comments

Comments
 (0)