Moved author tag and improved description for ROT47

This commit is contained in:
n1474335 2016-12-06 18:43:55 +00:00
parent 2db810289d
commit 6fa6a92719
6 changed files with 22 additions and 21 deletions

View file

@ -1391,7 +1391,7 @@ var OperationConfig = {
]
},
"ROT47": {
description: "A slightly more complex variation of a caesar cipher, which includes ASCII characters too. (default 47)",
description: "A slightly more complex variation of a caesar cipher, which includes ASCII characters from 33 '!' to 126 '~'. Default rotation: 47.",
run: Rotate.run_rot47,
highlight: true,
highlight_reverse: true,

View file

@ -1,7 +1,7 @@
/**
* Bit rotation operations.
*
* @author n1474335 [n1474335@gmail.com] & Matt C [matt@artemisbot.pw]
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*
@ -135,6 +135,7 @@ var Rotate = {
/**
* ROT47 operation.
*
* @author Matt C [matt@artemisbot.pw]
* @param {byte_array} input
* @param {Object[]} args
* @returns {byte_array}