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;