Deprecate affineEncode

This commit is contained in:
Barry Brown 2024-06-13 17:43:10 +00:00
parent 86ad59842f
commit 1017294942

View file

@ -17,6 +17,7 @@ import CryptoJS from "crypto-js";
/** /**
* Affine Cipher Encode operation. * Affine Cipher Encode operation.
* *
* @deprecated Use affineEcrypt instead.
* @author Matt C [matt@artemisbot.uk] * @author Matt C [matt@artemisbot.uk]
* @param {string} input * @param {string} input
* @param {Object[]} args * @param {Object[]} args
@ -54,7 +55,7 @@ export function affineEncode(input, args) {
/** /**
* Generic affine encrypt/decrypt operation. * Generic affine encrypt/decrypt operation.
* Allows for an expanded alphabet. * Allows for an expanded alphabet.
* *
* @author Barry B [profbbrown@gmail.com] * @author Barry B [profbbrown@gmail.com]
* @param {string} input * @param {string} input
* @param {number} a * @param {number} a