mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(crypto): add ARC4 implementation
This commit is contained in:
parent
d7fc37cef1
commit
a9bfaa02fc
5 changed files with 127 additions and 0 deletions
10
storm/Crypto.hpp
Normal file
10
storm/Crypto.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue