8 lines
312 B
TypeScript
8 lines
312 B
TypeScript
import type { CookieEncryptor } from '../types';
|
|
export declare class AesGcmCookieEncryptor implements CookieEncryptor {
|
|
private readonly key;
|
|
constructor(secret: string);
|
|
encrypt(text: string): string;
|
|
decrypt(encryptedText: string): string;
|
|
}
|
|
//# sourceMappingURL=AesGcmCookieEncryptor.d.ts.map
|