randombytes

WebJar for randombytes

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

randombytes
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

randombytes
WebJar for randombytes
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/crypto-browserify/randombytes

Download randombytes

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/randombytes/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>randombytes</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/randombytes/
implementation 'org.webjars.npm:randombytes:2.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/randombytes/
implementation ("org.webjars.npm:randombytes:2.1.0")
'org.webjars.npm:randombytes:jar:2.1.0'
<dependency org="org.webjars.npm" name="randombytes" rev="2.1.0">
  <artifact name="randombytes" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='randombytes', version='2.1.0')
)
libraryDependencies += "org.webjars.npm" % "randombytes" % "2.1.0"
[org.webjars.npm/randombytes "2.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : safe-buffer jar [5.1.0,6)

Project Modules

There are no modules declared in this project.

randombytes

Version Build Status

randombytes from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues

var randomBytes = require('randombytes');
randomBytes(16);//get 16 random bytes
randomBytes(16, function (err, resp) {
  // resp is 16 random bytes
});
org.webjars.npm

Versions

Version
2.1.0
2.0.6
2.0.3