Toggle navigation
Toggle navigation
This project
Loading...
Sign in
HyeonJun Jeon
/
Extended-Calendar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
HyeonJun Jeon
2022-06-07 02:42:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f47f04fe54a088f7fcc6c70831ad383b7c1289bd
f47f04fe
1 parent
af1012c4
[Del] Unused file
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
src/utils/Encrypt.js
src/utils/Encrypt.js
deleted
100644 → 0
View file @
af1012c
const
CryptoJS
=
require
(
"crypto-js"
);
function
createHashed
(
str
)
{
var
hash
=
CryptoJS
.
SHA256
(
str
);
console
.
log
(
"암호화된 값 : "
+
hash
);
// base64
// var key = CryptoJS.enc.Utf8.parse(str);
// var base64 = CryptoJS.enc.Base64.stringify(key); //encoded
// var decrypt = CryptoJS.enc.Base64.parse(base64);
// var hashData = decrypt.toString(CryptoJS.enc.Utf8); //decoded
}
createHashed
(
"Happy2468!"
);
module
.
exports
=
createHashed
;
Please
register
or
login
to post a comment