MCPcopy Create free account
hub / github.com/6174/comflowyspace / AESEncrypt

Function AESEncrypt

packages/common/utils/crypto.ts:9–11  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

7 * @returns
8 */
9export function AESEncrypt(text: string): string {
10 return AES.encrypt(text, AES_CIPHER_KEY).toString();
11}
12
13export function AESDecrypt(text: string): string {
14 return AES.decrypt(text, AES_CIPHER_KEY).toString();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected