AuroraRuntime/Include/Aurora/Hashing/Digests.hpp

53 lines
1.7 KiB
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
2021-10-23 20:13:40 +00:00
File: Digests.hpp
2021-06-27 21:25:29 +00:00
Date: 2021-6-10
Author: Reece
***/
#pragma once
namespace Aurora::Hashing
{
2022-08-20 06:53:48 +00:00
AUKN_SYM void MD4(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 16> &md4);
2022-08-20 06:53:48 +00:00
AUKN_SYM void MD5(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 16> &md5);
2022-08-20 06:53:48 +00:00
AUKN_SYM void SHA1(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 20> &sha1);
2022-08-20 06:53:48 +00:00
AUKN_SYM void Tiger(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 24> &tiger);
2022-08-20 06:53:48 +00:00
AUKN_SYM void SHA2(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 32> &sha2);
AUKN_SYM void SHA2_48(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 48> &sha2);
2022-08-20 06:53:48 +00:00
AUKN_SYM void SHA2_64(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 64> &sha2);
AUKN_SYM void SHA3_28(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 28> &sha3);
AUKN_SYM void SHA3_32(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 32> &sha3);
AUKN_SYM void SHA3_48(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 48> &sha3);
AUKN_SYM void SHA3_64(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 64> &sha3);
2022-08-02 04:58:00 +00:00
/**
* @brief RipeMD-128
*/
2022-08-20 06:53:48 +00:00
AUKN_SYM void RMD128(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 16> &rmd128);
2022-08-02 04:58:00 +00:00
/**
* @brief RipeMD-160
*/
2022-08-20 06:53:48 +00:00
AUKN_SYM void RMD160(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 20> &rmd160);
2022-08-02 04:58:00 +00:00
/**
* @brief RipeMD-256
*/
2022-08-20 06:53:48 +00:00
AUKN_SYM void RMD256(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 32> &rmd256);
2022-08-02 04:58:00 +00:00
/**
* @brief RipeMD-320
*/
2022-08-20 06:53:48 +00:00
AUKN_SYM void RMD320(const Memory::MemoryViewRead &toHash, AuArray<AuUInt8, 40> &rmd320);
2021-06-27 21:25:29 +00:00
}