JVM/JS/Native Platform-specific implementations of hmacSha256.
The CryptoPlatformCompat objects all abide by the same structural interface, which means they can be called from cross-compiled code.
The Binary
type alias differs depending on platforms. Think of it as a path-dependant type.
The file names in this gist are annotated with the platforms the files are related to. They should be shoved in relevant directories when copied into an actual Scala project.