First commit to the code repository
This commit is contained in:
1 parent
692cdee407
commit
0c0dd1cb56
323 files changed
+45712
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import CryptoJS from "crypto-js";
|
||||
|
||||
/**
|
||||
* MD5 encrypt function
|
||||
* @param text text to encrypt
|
||||
* @returns MD5 encrypted string
|
||||
*/
|
||||
export const md5Encrypt = (text: string): string => {
|
||||
return CryptoJS.MD5(text).toString();
|
||||
};
|
||||
Reference in new issue
Block a user