@himorishige/noren-core
Version:
Core PII detection, masking, and tokenization library built on Web Standards
11 lines • 525 B
TypeScript
export declare const normalize: (s: string) => string;
export declare function luhn(d: string): boolean;
export declare function importHmacKey(secret: string | CryptoKey): Promise<CryptoKey>;
export declare function hmacToken(value: string, key: CryptoKey): Promise<string>;
export declare function isBinaryChunk(chunk: Uint8Array): boolean;
export declare const SECURITY_LIMITS: {
readonly maxInputLength: 10000000;
readonly maxPatternMatches: 200;
readonly chunkSize: 256;
};
//# sourceMappingURL=utils.d.ts.map