From 84e906865551b49222af5a06144d131a01fc6a09 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sat, 12 Sep 2026 02:59:45 +0300 Subject: [PATCH] Adjust concept Encryptor formatting. --- Chaos/Cipher/Block/Encryptor.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Chaos/Cipher/Block/Encryptor.hpp b/Chaos/Cipher/Block/Encryptor.hpp index 8150c91..ddd3cf3 100644 --- a/Chaos/Cipher/Block/Encryptor.hpp +++ b/Chaos/Cipher/Block/Encryptor.hpp @@ -17,10 +17,13 @@ concept Encryptor = requires(const T constEncryptor, typename T::Block; typename T::Key; requires std::constructible_from; + requires std::unsigned_integral>; typename std::integral_constant; + requires std::unsigned_integral>; typename std::integral_constant; + constEncryptor.EncryptBlock(outBegin, outEnd, inBegin, inEnd); { constEncryptor.EncryptBlock(block) } -> std::same_as; { constEncryptor.GetBlockSize() } -> std::unsigned_integral;