(KiriKiri): added variation of CX encryption scheme.

This commit is contained in:
morkt
2017-08-15 16:07:54 +04:00
parent 651aad92a2
commit d6e441fe64
2 changed files with 45 additions and 3 deletions

View File

@@ -967,6 +967,22 @@ namespace GameRes.Formats.KiriKiri
Dictionary<string, string> KnownNames = null;
}
[Serializable]
public class NanaCxCrypt : SenrenCxCrypt
{
uint m_random_seed;
public NanaCxCrypt (CxScheme scheme, uint seed) : base (scheme)
{
m_random_seed = seed;
}
internal override CxProgram NewProgram (uint seed)
{
return new CxProgramNana (seed, m_random_seed, ControlBlock);
}
}
[Serializable]
public class KissCrypt : ICrypt
{