secure-flow
Advanced tools
Comparing version 1.0.5-beta-2 to 1.0.5-beta-4
{ | ||
"name": "secure-flow", | ||
"version": "1.0.5-beta-2", | ||
"version": "1.0.5-beta-4", | ||
"description": "Secure Flow is a lightweight TypeScript utility package for encryption and decryption using the AES-256-CBC algorithm. This package simplifies the process of securely encrypting and decrypting text, making it easy to integrate strong encryption into your Node.js applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
// types/secure-flow.d.ts | ||
declare module 'secure-flow' { | ||
export function encrypt(text: string): string; | ||
export function decrypt(text: string): string; | ||
export function encrypt(text: string): string | undefined; | ||
export function decrypt(text: string): string | undefined; | ||
@@ -7,0 +7,0 @@ export interface Config { |
15134