@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
10 lines (9 loc) • 383 B
TypeScript
import type { PasswordHashAlgorithm } from './PasswordHashAlgorithm.js';
export declare class Pbkdf2 implements PasswordHashAlgorithm {
iterations: number;
keyLen: number;
digest: string;
getSaltedHash(password: string): string;
isHashMatch(storedValue: string, inputPassword: string): boolean;
getHashFromStringWithSalt(str: string, salt: string): string;
}