Kotlin Multiplatform cryptographic primitives (SHA-256, HMAC, HKDF) for the buffer library