All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.client3.internal.MessageDigestCompatibility.scala Maven / Gradle / Ivy

The newest version!
package sttp.client3.internal

import java.security.MessageDigest

private[client3] 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