scorex.crypto.hash.Sha256.scala Maven / Gradle / Ivy
package scorex.crypto.hash
import java.security.MessageDigest
/**
* Hashing functions implementation with sha256 impl from Java SDK
*/
object Sha256 extends CryptographicHash32 {
override def hash(input: Array[Byte]) = MessageDigest.getInstance("SHA-256").digest(input)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy