mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
refactor: cryptography component
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
#include "JsonMaterialLoader.h"
|
||||
|
||||
#include "Base64.h"
|
||||
#include "Game/IW5/CommonIW5.h"
|
||||
#include "Game/IW5/Material/JsonMaterial.h"
|
||||
#include "Impl/Base64.h"
|
||||
|
||||
#include <format>
|
||||
#include <iostream>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "SoundBankWriter.h"
|
||||
|
||||
#include "Crypto.h"
|
||||
#include "Cryptography.h"
|
||||
#include "ObjContainer/SoundBank/SoundBankTypes.h"
|
||||
#include "Sound/FlacDecoder.h"
|
||||
#include "Sound/WavTypes.h"
|
||||
@ -251,7 +251,7 @@ public:
|
||||
|
||||
SoundAssetBankChecksum checksum{};
|
||||
|
||||
const auto md5Crypt = Crypto::CreateMD5();
|
||||
const auto md5Crypt = cryptography::CreateMd5();
|
||||
md5Crypt->Process(soundData.get(), soundSize);
|
||||
md5Crypt->Finish(checksum.checksumBytes);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "GltfBuffer.h"
|
||||
|
||||
#include "Impl/Base64.h"
|
||||
#include "Base64.h"
|
||||
#include "XModel/Gltf/GltfConstants.h"
|
||||
|
||||
#include <cassert>
|
||||
|
Reference in New Issue
Block a user