Make AES more random

This commit is contained in:
rift 2023-12-28 11:50:58 -06:00
parent 89064c7e15
commit 5ed9819c4f
2 changed files with 5 additions and 2 deletions

View file

@ -14,7 +14,10 @@ export function Home() {
"/go/" +
encodeURIComponent(
//@ts-ignore
enc(inputValue, "295E1389FED4F2187D992178A53F9").substring(10)
enc(
inputValue,
window.location.origin.slice(8) + navigator.userAgent
).substring(10)
);
};

View file

@ -28,7 +28,7 @@ export function ProxyFrame(props: { url: string }) {
//@ts-ignore
let decodedUrl = dec(
"U2FsdGVkX1" + decodeURIComponent(props.url),
"295E1389FED4F2187D992178A53F9"
window.location.origin.slice(8) + navigator.userAgent
);
//attempt to convert to a valid url
decodedUrl = searchUtil(decodedUrl, searchEngine);