securityos/node_modules/next/dist/server/crypto-utils.d.ts

4 lines
202 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
/// <reference types="node" />
export declare function encryptWithSecret(secret: Buffer, data: string): string;
export declare function decryptWithSecret(secret: Buffer, encryptedData: string): string;