oak-general-business/src/utils/password.ts

4 lines
109 B
TypeScript

import sha1 from 'sha1';
export function encryptPasswordSha1(password: string) {
return sha1(password);
}