implement block property

This commit is contained in:
2025-11-10 14:44:32 +01:00
parent e5bbd9730c
commit 2051c3fcbd
8 changed files with 24 additions and 4 deletions

View File

@@ -9,6 +9,9 @@ object `SHA-384` : HashFunction() {
override val bytes: Int
get() = 48
override val block: Int
get() = 128
private val k = ulongArrayOf(
0x428a2f98d728ae22UL, 0x7137449123ef65cdUL, 0xb5c0fbcfec4d3b2fUL, 0xe9b5dba58189dbbcUL, 0x3956c25bf348b538UL,
0x59f111f1b605d019UL, 0x923f82a4af194f9bUL, 0xab1c5ed5da6d8118UL, 0xd807aa98a3030242UL, 0x12835b0145706fbeUL,