sttp.client4.internal.MessageDigestCompatibility.scala Maven / Gradle / Ivy
The newest version!
package sttp.client4.internal
private[client4] class MessageDigestCompatibility(algorithm: String) {
require(algorithm == "MD5", s"Unsupported algorithm: $algorithm")
def digest(input: Array[Byte]): Array[Byte] =
CryptoMd5.digest(input)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy