1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00
tobspr_shapez.io/src/js/core/sensitive_utils.encrypt.js

13 lines
317 B
JavaScript
Raw Normal View History

import { createHash } from "rusha";
2020-05-09 14:45:23 +00:00
import { decompressX64 } from "./lzstring";
2020-05-09 14:45:23 +00:00
export function sha1(str) {
return createHash().update(str).digest("hex");
2020-05-09 14:45:23 +00:00
}
// Window.location.host
export function getNameOfProvider() {
return window[decompressX64("DYewxghgLgliB2Q")][decompressX64("BYewzgLgdghgtgUyA")];
2020-05-09 14:45:23 +00:00
}