This commit is contained in:
Mino 2020-03-19 15:48:42 +09:00
parent a0c0fe9faf
commit c7bdd01b52
2 changed files with 23 additions and 19 deletions

View file

@ -69,6 +69,7 @@ namespace Dalamud.Bootstrap.SqexArg
Span<byte> keyBytes = stackalloc byte[8];
var keyCandicate = keyFragment;
while (true)
{
if (!CreateKey(keyBytes, keyCandicate))
@ -78,8 +79,7 @@ namespace Dalamud.Bootstrap.SqexArg
}
var blowfish = new Blowfish(keyBytes);
blowfish.DecryptInPlace();
if (/* if data looks valid, return blowfish */)
{
// ...