sttp.client4.internal.MessageDigestCompatibility.scala Maven / Gradle / Ivy
The newest version!
package sttp.client4.internal
import java.security.MessageDigest
private[client4] class MessageDigestCompatibility(algorithm: String) {
private lazy val md = MessageDigest.getInstance(algorithm)
def digest(input: Array[Byte]): Array[Byte] = md.digest(input)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy