4.1.4 • Published 1 year ago

uluru-crypto v4.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Uluru crypto - a self-containted universal cryptographic library designed with simplicity of usage in mind.

Uluru crypto in javascript

GitHub npm version npm bundle size

Uluru JS is written in typescript and compiled to javascript to be used in both nodeJS (see on npm) and the web, without any dependencies whatsoever. The uluru crypto implementation takes advantage of modern javascript features (e.g. typed arrays) for better performance.

Features:

  • symmetric encryption with ChaCha20
  • hashing, PBKDF and HMAC with Keccak800
  • RSA (asymmetric encryption, signing, key generation) and diffie hellman key exchange
  • character encodings (Utf8, Ascii, Base64, Hex)
  • secure generation of random bytes

Quick start

Node:

$ npm install uluru-crypto
import { encrypt, decrypt, hash } from "uluru-crypto" //ES modules
const { encrypt, decrypt, hash } = require("uluru-crypto") //common js

let encrypted = encrypt("some sensitive data!", "secret password")
let decrypted = decrypt(encrypted, "secret password") //"some sensitive data!"
let checksum = hash("some string to hash") //"00d5c7aff4b3f0c...

Browser:

<script src="https://unpkg.com/uluru-crypto"></script>
<script>
	//in browser use the ready Uluru object:
	const { encrypt, decrypt, hash } = Uluru
</script>

For more, see the docs at the git wiki

4.1.4

1 year ago

4.1.3

1 year ago

4.1.2

2 years ago

3.4.0

2 years ago

3.4.1

2 years ago

4.0.5

2 years ago

4.0.4

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.3

2 years ago

4.1.1

2 years ago

4.0.2

2 years ago

3.3.0

2 years ago

3.2.6

2 years ago

3.2.5

2 years ago

3.2.4

2 years ago

3.2.3

2 years ago

3.2.2

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.4.0

2 years ago