Skip to content

ariwaranosai/scala-js-hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala-js-hashes

Build Status Scala.js

js-hashes facade types for Scala.js

scala-js-hashes

jshashes is lightweight library implementing the most extended cryptographic hash function algorithms in pure JavaScript (ES5 compliant).You can find more from jshashes.

scalajs-hashes provide jshashes facade type for scalajs programs since there are few hashlib in native scala adapted to scalajs.

Usage

Add the following to your sbt build definition:

libraryDependencies += "xyz.ariwaranosai" %%% "scalajs-hashes" % "0.1.0"

include javascript

hashes.js file itself is also needed. You can include it in your html file. Another way is include it in the final jsdeps.js by add the desired version to jdDependencies,e.g.,

jsDependencies += "org.webjars.bower" % "jshashes" % "1.0.5" / "1.0.5/hashes.min.js"

Hashes

scalajs-hashes provides two ways to get hashes, please follow those testcase.

License

scala-js-hashes is released under MIT license. See LICENSE file.

About

js-hashes facade types for Scala.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages