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

4 lines
202 B
TypeScript

/// <reference types="node" />
export declare function encryptWithSecret(secret: Buffer, data: string): string;
export declare function decryptWithSecret(secret: Buffer, encryptedData: string): string;