From 1017294942bfa1bdd8077b391c69d95c1f572cb3 Mon Sep 17 00:00:00 2001 From: Barry Brown Date: Thu, 13 Jun 2024 17:43:10 +0000 Subject: [PATCH] Deprecate affineEncode --- src/core/lib/Ciphers.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/lib/Ciphers.mjs b/src/core/lib/Ciphers.mjs index 9ab5e811..fe40677a 100644 --- a/src/core/lib/Ciphers.mjs +++ b/src/core/lib/Ciphers.mjs @@ -17,6 +17,7 @@ import CryptoJS from "crypto-js"; /** * Affine Cipher Encode operation. * + * @deprecated Use affineEcrypt instead. * @author Matt C [matt@artemisbot.uk] * @param {string} input * @param {Object[]} args @@ -54,7 +55,7 @@ export function affineEncode(input, args) { /** * Generic affine encrypt/decrypt operation. * Allows for an expanded alphabet. - * + * * @author Barry B [profbbrown@gmail.com] * @param {string} input * @param {number} a