import * as encryption from './encryption';

export const hashPassword = encryption.hashPassword;
export const comparePasswordWithHash = encryption.comparePasswordWithHash;

module.exports = encryption;

import * as encryption from './encryption';

export const isValidDigestAlgorithm = encryption.isValidDigestAlgorithm;
export const hashPassword = encryption.hashPassword;
export const comparePasswordWithHash = encryption.comparePasswordWithHash;

module.exports = encryption;

Add export for digest availability checking function
Add export for digest availability checking function
