Feature: Add Vigenere Cipher Encode & Decode

- Added Vigenere Encode & Decode
- Added metadata for /config/ relating to this additon
This commit is contained in:
Matt C 2016-12-03 20:54:28 +00:00
parent 20d9903572
commit 560712cee3
3 changed files with 128 additions and 1 deletions

View file

@ -81,6 +81,8 @@ var Categories = [
"XOR Brute Force",
"Derive PBKDF2 key",
"Derive EVP key",
"Vigenere Encode",
"Vigenere Decode"
]
},
{

View file

@ -1325,6 +1325,36 @@ var OperationConfig = {
},
]
},
"Vigenere Encode": {
description: "Encodes string with the Vigenere cipher.",
run: Cipher.run_vigenc,
highlight: true,
highlight_reverse: true,
input_type: "string",
output_type: "string",
args: [
{
name: "Keyword",
type: "string",
value: Cipher.VIG_ENC_KEY
}
]
},
"Vigenere Decode": {
description: "Decodes string with the Vigenere cipher.",
run: Cipher.run_vigdec,
highlight: true,
highlight_reverse: true,
input_type: "string",
output_type: "string",
args: [
{
name: "Keyword",
type: "string",
value: Cipher.VIG_DEC_KEY
}
]
},
"Rotate right": {
description: "Rotates each byte to the right by the number of bits specified. Currently only supports 8-bit values.",
run: Rotate.run_rotr,