Tidied up Rabbit operations
This commit is contained in:
1 parent
1cc8b150f3
commit
7403666a11
4 files changed
+32
-32
No files matched your search
@@ -75,7 +75,6 @@
|
||||
"AES Decrypt",
|
||||
"Blowfish Encrypt",
|
||||
"Blowfish Decrypt",
|
||||
"ChaCha",
|
||||
"DES Encrypt",
|
||||
"DES Decrypt",
|
||||
"Triple DES Encrypt",
|
||||
@@ -86,6 +85,8 @@
|
||||
"RC2 Decrypt",
|
||||
"RC4",
|
||||
"RC4 Drop",
|
||||
"ChaCha",
|
||||
"Rabbit",
|
||||
"SM4 Encrypt",
|
||||
"SM4 Decrypt",
|
||||
"ROT13",
|
||||
@@ -134,8 +135,7 @@
|
||||
"Typex",
|
||||
"Lorenz",
|
||||
"Colossus",
|
||||
"SIGABA",
|
||||
"Rabbit Stream Cipher"
|
||||
"SIGABA"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -10,19 +10,19 @@ import { toHexFast } from "../lib/Hex.mjs";
|
||||
import OperationError from "../errors/OperationError.mjs";
|
||||
|
||||
/**
|
||||
* Rabbit Stream Cipher operation
|
||||
* Rabbit operation
|
||||
*/
|
||||
class RabbitStreamCipher extends Operation {
|
||||
class Rabbit extends Operation {
|
||||
|
||||
/**
|
||||
* RabbitStreamCipher constructor
|
||||
* Rabbit constructor
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.name = "Rabbit Stream Cipher";
|
||||
this.name = "Rabbit";
|
||||
this.module = "Ciphers";
|
||||
this.description = "Rabbit Stream Cipher, a stream cipher algorithm defined in RFC4503.<br><br>The cipher uses a 128-bit key and an optional 64-bit initialization vector (IV).<br><br>big-endian: based on RFC4503 and RFC3447<br>little-endian: compatible with Crypto++";
|
||||
this.description = "Rabbit is a high-speed stream cipher introduced in 2003 and defined in RFC 4503.<br><br>The cipher uses a 128-bit key and an optional 64-bit initialization vector (IV).<br><br>big-endian: based on RFC4503 and RFC3447<br>little-endian: compatible with Crypto++";
|
||||
this.infoURL = "https://wikipedia.org/wiki/Rabbit_(cipher)";
|
||||
this.inputType = "string";
|
||||
this.outputType = "string";
|
||||
@@ -244,4 +244,4 @@ class RabbitStreamCipher extends Operation {
|
||||
|
||||
}
|
||||
|
||||
export default RabbitStreamCipher;
|
||||
export default Rabbit;
|
||||
Reference in new issue
Block a user