![JAR search and dependency download from the Maven repository](/logo.png)
org.plasmalabs.crypto.catsinstances.eqs.EqInstances.scala Maven / Gradle / Ivy
package org.plasmalabs.crypto.catsinstances.eqs
import cats.Eq
import org.plasmalabs.crypto.hash.digest.implicits._
import org.plasmalabs.crypto.hash.digest.Digest
trait EqInstances {
implicit def digestEq[T: Digest]: Eq[T] = (digestA, digestB) => digestA.bytes.sameElements(digestB.bytes)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy