mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
프론트엔드 암호 모듈 리팩토링
This commit is contained in:
3
src/lib/modules/crypto/sha.ts
Normal file
3
src/lib/modules/crypto/sha.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const digestMessage = async (message: BufferSource) => {
|
||||
return await window.crypto.subtle.digest("SHA-256", message);
|
||||
};
|
||||
Reference in New Issue
Block a user