scala-js-hashes


License

License

MIT
Categories

Categories

JavaScript Languages Scala
GroupId

GroupId

xyz.ariwaranosai
ArtifactId

ArtifactId

scalajs-hashes_sjs0.6_2.11
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

scala-js-hashes
scala-js-hashes
Project URL

Project URL

https://github.com/ariwaranosai/scala-js-hashes.git
Project Organization

Project Organization

xyz.ariwaranosai
Source Code Management

Source Code Management

https://github.com/ariwaranosai/scala-js-hashes.git

Download scalajs-hashes_sjs0.6_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/xyz.ariwaranosai/scalajs-hashes_sjs0.6_2.11/ -->
<dependency>
    <groupId>xyz.ariwaranosai</groupId>
    <artifactId>scalajs-hashes_sjs0.6_2.11</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/xyz.ariwaranosai/scalajs-hashes_sjs0.6_2.11/
implementation 'xyz.ariwaranosai:scalajs-hashes_sjs0.6_2.11:0.1.0'
// https://jarcasting.com/artifacts/xyz.ariwaranosai/scalajs-hashes_sjs0.6_2.11/
implementation ("xyz.ariwaranosai:scalajs-hashes_sjs0.6_2.11:0.1.0")
'xyz.ariwaranosai:scalajs-hashes_sjs0.6_2.11:jar:0.1.0'
<dependency org="xyz.ariwaranosai" name="scalajs-hashes_sjs0.6_2.11" rev="0.1.0">
  <artifact name="scalajs-hashes_sjs0.6_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='xyz.ariwaranosai', module='scalajs-hashes_sjs0.6_2.11', version='0.1.0')
)
libraryDependencies += "xyz.ariwaranosai" % "scalajs-hashes_sjs0.6_2.11" % "0.1.0"
[xyz.ariwaranosai/scalajs-hashes_sjs0.6_2.11 "0.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
org.scala-js : scalajs-library_2.11 jar 0.6.11
org.scala-js : scalajs-dom_sjs0.6_2.11 jar 0.9.0

test (3)

Group / Artifact Type Version
org.webjars.bower : jshashes jar 1.0.5
org.scala-js : scalajs-test-interface_2.11 jar 0.6.11
com.lihaoyi : utest_sjs0.6_2.11 jar 0.4.3

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.1.0
0.0.2