@istvan.xyz/phc-format
Version:
An implementation of the PHC format.
16 lines • 498 B
TypeScript
/// <reference types="node" />
/**
* Parses data from a PHC string.
* @param {string} phcString A PHC string to parse.
* @return {Object} The object containing the data parsed from the PHC string.
*/
export default function deserialize(phcString: string): {
id?: string | undefined;
version?: number | undefined;
params?: {
[key: string]: unknown;
} | undefined;
salt?: Buffer | undefined;
hash?: Buffer | undefined;
};
//# sourceMappingURL=deserialize.d.ts.map