mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 07:30:02 -04:00
worker rewriting
This commit is contained in:
parent
2598bee87b
commit
f6c3c13d1e
22 changed files with 543 additions and 392 deletions
|
@ -46,16 +46,16 @@ const plain = {
|
|||
|
||||
/*
|
||||
const aes = {
|
||||
encode: (str: string | undefined) => {
|
||||
if (!str) return str;
|
||||
encode: (str: string | undefined) => {
|
||||
if (!str) return str;
|
||||
|
||||
return encodeURIComponent(enc(str, "dynamic").substring(10));
|
||||
},
|
||||
decode: (str: string | undefined) => {
|
||||
if (!str) return str;
|
||||
return encodeURIComponent(enc(str, "dynamic").substring(10));
|
||||
},
|
||||
decode: (str: string | undefined) => {
|
||||
if (!str) return str;
|
||||
|
||||
return dec("U2FsdGVkX1" + decodeURIComponent(str), "dynamic");
|
||||
}
|
||||
return dec("U2FsdGVkX1" + decodeURIComponent(str), "dynamic");
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue