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

scorex.crypto.hash.Sha256.scala Maven / Gradle / Ivy

There is a newer version: 1.2.0-RC3
Show newest version
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