You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,7 +23,7 @@ class RC6Decrypt extends Operation {
23
23
24
24
this.name="RC6 Decrypt";
25
25
this.module="Ciphers";
26
-
this.description="RC6 is a symmetric key block cipher derived from RC5. It was designed by Ron Rivest, Matt Robshaw, Ray Sidney, and Yiqun Lisa Yin to meet the requirements of the AES competition, and was one of the five finalists.RC6 operates on 128-bit blocks and supports key sizes of 128, 192, or 256 bits with 20 rounds.<br><br>When using CBC or ECB mode, the PKCS#7 padding scheme is used.";
26
+
this.description="RC6 is a symmetric key block cipher derived from RC5. It was designed by Ron Rivest, Matt Robshaw, Ray Sidney, and Yiqun Lisa Yin to meet the requirements of the AES competition, and was one of the five finalists.<br><br>RC6 is parameterised as RC6-w/r/b where w is word size in bits (any multiple of 8 from 8-256), r is the number of rounds (1-255), and b is the key length in bytes. The standard AES submission uses w=32, r=20. Common word sizes: 8, 16, 32 (standard), 64, 128.<br><br><b>IV:</b> The Initialisation Vector should be 4*w/8 bytes (e.g. 16 bytes for w=32). If not entered, it will default to null bytes.<br><br><b>Padding:</b> In CBC and ECB mode, the PKCS#7 padding scheme is used.";
27
27
this.infoURL="https://wikipedia.org/wiki/RC6";
28
28
this.inputType="string";
29
29
this.outputType="string";
@@ -59,6 +59,21 @@ class RC6Decrypt extends Operation {
59
59
"name": "Padding",
60
60
"type": "option",
61
61
"value": ["PKCS5","NO","ZERO","RANDOM","BIT"]
62
+
},
63
+
{
64
+
"name": "Word Size",
65
+
"type": "number",
66
+
"value": 32,
67
+
"min": 8,
68
+
"max": 256,
69
+
"step": 8
70
+
},
71
+
{
72
+
"name": "Rounds",
73
+
"type": "number",
74
+
"value": 20,
75
+
"min": 1,
76
+
"max": 255
62
77
}
63
78
];
64
79
}
@@ -71,21 +86,36 @@ class RC6Decrypt extends Operation {
@@ -23,7 +23,7 @@ class RC6Encrypt extends Operation {
23
23
24
24
this.name="RC6 Encrypt";
25
25
this.module="Ciphers";
26
-
this.description="RC6 is a symmetric key block cipher derived from RC5. It was designed by Ron Rivest, Matt Robshaw, Ray Sidney, and Yiqun Lisa Yin to meet the requirements of the AES competition, and was one of the five finalists.RC6 operates on 128-bit blocks and supports key sizes of 128, 192, or 256 bits with 20 rounds.<br><br>When using CBC or ECB mode, the PKCS#7 padding scheme is used.";
26
+
this.description="RC6 is a symmetric key block cipher derived from RC5. It was designed by Ron Rivest, Matt Robshaw, Ray Sidney, and Yiqun Lisa Yin to meet the requirements of the AES competition, and was one of the five finalists.<br><br>RC6 is parameterised as RC6-w/r/b where w is word size in bits (any multiple of 8 from 8-256), r is the number of rounds (1-255), and b is the key length in bytes. The standard AES submission uses w=32, r=20. Common word sizes: 8, 16, 32 (standard), 64, 128.<br><br><b>IV:</b> The Initialisation Vector should be 4*w/8 bytes (e.g. 16 bytes for w=32). If not entered, it will default to null bytes.<br><br><b>Padding:</b> In CBC and ECB mode, the PKCS#7 padding scheme is used.";
27
27
this.infoURL="https://wikipedia.org/wiki/RC6";
28
28
this.inputType="string";
29
29
this.outputType="string";
@@ -59,6 +59,21 @@ class RC6Encrypt extends Operation {
59
59
"name": "Padding",
60
60
"type": "option",
61
61
"value": ["PKCS5","NO","ZERO","RANDOM","BIT"]
62
+
},
63
+
{
64
+
"name": "Word Size",
65
+
"type": "number",
66
+
"value": 32,
67
+
"min": 8,
68
+
"max": 256,
69
+
"step": 8
70
+
},
71
+
{
72
+
"name": "Rounds",
73
+
"type": "number",
74
+
"value": 20,
75
+
"min": 1,
76
+
"max": 255
62
77
}
63
78
];
64
79
}
@@ -71,21 +86,36 @@ class RC6Encrypt extends Operation {
0 commit comments