mirror of
https://github.com/apple/swift-crypto
synced 2026-11-25 04:47:47 +00:00
When contentLength is greater than 8 bits, i.e., greater than UInt8.max, the original implementation crashes. To work around this, use UInt8.init(truncatingIfNeeded:) to truncate only the lower 8 bits.