// crypto-js shim — warns when AES legacy encryption is attempted in CF Workers
const warn = (method: string) =>
  console.warn(`[cf-shim] crypto-js/${method} called — legacy AES crypto is not available in CF Workers`);

export const encrypt = (..._args: any[]) => { warn('aes.encrypt'); return ''; };
export const decrypt = (..._args: any[]) => { warn('aes.decrypt'); return ''; };
export default { encrypt, decrypt };
