feat(crypto): add ARC4 implementation

This commit is contained in:
fallenoak 2023-03-23 12:48:16 -05:00 committed by GitHub
parent d7fc37cef1
commit a9bfaa02fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 127 additions and 0 deletions

10
storm/Crypto.hpp Normal file
View file

@ -0,0 +1,10 @@
#ifndef STORM_CRYPTO_HPP
#define STORM_CRYPTO_HPP
#include "storm/crypto/SARC4Key.hpp"
void SARC4PrepareKey(const void* data, uint32_t len, SARC4Key* key);
void SARC4ProcessBuffer(void* data, uint32_t len, const SARC4Key* inKey, SARC4Key* outKey);
#endif