Encrypt plaintext with the Rabbit stream cipher via CryptoJS, using a passphrase to derive key material in the familiar salted OpenSSL-compatible wrapper. Rabbit is a high-speed software-oriented stream cipher; this tool outputs Base64 ciphertext for short messages processed in the browser.
Algorithm
The message bytes are combined with a Rabbit keystream derived from the passphrase/salt package CryptoJS uses for Rabbit.encrypt. The result is a Base64 string (commonly U2FsdGVkX1… when salted). Decryption requires the identical passphrase and matching Rabbit decrypt path.
When to use it
- Experiment with stream-cipher ciphertext distinct from AES/DES siblings
- Protect throwaway demo strings in CryptoJS-compatible Rabbit format
- Compare ciphertext length/behavior against block-cipher tools on the same plaintext
Limitations
Rabbit is less ubiquitous than AES in modern standards and libraries—interop outside CryptoJS may be limited. Passphrase quality still rules security. Not a full secure-messaging protocol (no identity, forward secrecy, or authenticity UI). Avoid for long-term archival of important secrets.
Example
Secret message with passphrase passphrase produces a salted Base64 ciphertext such as U2FsdGVkX1…. Decrypting with the Rabbit decrypt tool and the same passphrase restores Secret message.