mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed AES Key not being written to LS and read from LS.
This commit is contained in:
@@ -243,6 +243,7 @@ FUNCTION RandomNum 0 100 -> VAR "RANDOM"
|
||||
FUNCTION CountOccurrences "tofind" "input" -> VAR "COUNT"
|
||||
FUNCTION CharAt "index" "input" -> VAR "CHAR"
|
||||
FUNCTION Substring "startindex" "length" "input" -> VAR "SUBSTRING"
|
||||
FUNCTION AesEncrypt "secretkey" "secretmessage" -> VAR "ENCRYPTED"
|
||||
</item>
|
||||
<item name="Keycheck">
|
||||
This will spawn and execute a Keycheck Block.
|
||||
|
||||
@@ -354,6 +354,11 @@ namespace RuriLib
|
||||
RSAExp = LineParser.ParseLiteral(ref input, "Exponent");
|
||||
break;
|
||||
|
||||
case Function.AESDecrypt:
|
||||
case Function.AESEncrypt:
|
||||
AesKey = LineParser.ParseLiteral(ref input, "AES Key");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -464,6 +469,12 @@ namespace RuriLib
|
||||
.Literal(RSAMod)
|
||||
.Literal(RSAExp);
|
||||
break;
|
||||
|
||||
case Function.AESDecrypt:
|
||||
case Function.AESEncrypt:
|
||||
writer
|
||||
.Literal(AesKey);
|
||||
break;
|
||||
}
|
||||
|
||||
writer
|
||||
|
||||
Reference in New Issue
Block a user