/** * Rabbit stream cipher algorithm. * * This is a legacy version that neglected to convert the key to little-endian. * This error doesn't affect the cipher's security, * but it does affect its compatibility with other implementations. */ export class RabbitLegacyAlgo extends StreamCipher { } /** * Shortcut functions to the cipher's object interface. * * @example * * var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg); * var plaintext = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg); */ export const RabbitLegacy: CipherObj; import { CipherObj } from './cipher-core.js'; import { StreamCipher } from './cipher-core.js';