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

12
storm/crypto/SARC4Key.hpp Normal file
View file

@ -0,0 +1,12 @@
#ifndef STORM_CRYPTO_S_ARC4_KEY_HPP
#define STORM_CRYPTO_S_ARC4_KEY_HPP
#include <cstdint>
struct SARC4Key {
uint8_t state[256];
uint8_t x;
uint8_t y;
};
#endif