mirror of
https://github.com/gchq/CyberChef
synced 2025-12-11 13:53:26 +00:00
Improved support for different alphabets in 'Substitute' operation
This commit is contained in:
@@ -3196,8 +3196,8 @@ const OperationConfig = {
|
||||
"Substitute": {
|
||||
description: "A substitution cipher allowing you to specify bytes to replace with other byte values. This can be used to create Caesar ciphers but is more powerful as any byte value can be substituted, not just letters, and the substitution values need not be in order.<br><br>Enter the bytes you want to replace in the Plaintext field and the bytes to replace them with in the Ciphertext field.<br><br>Non-printable bytes can be specified using string escape notation. For example, a line feed character can be written as either <code>\\n</code> or <code>\\x0a</code>.<br><br>Byte ranges can be specified using a hyphen. For example, the sequence <code>0123456789</code> can be written as <code>0-9</code>.",
|
||||
run: Cipher.runSubstitute,
|
||||
inputType: "byteArray",
|
||||
outputType: "byteArray",
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Plaintext",
|
||||
|
||||
Reference in New Issue
Block a user