Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lozjackson/ember-sha512

An Ember-cli addon version of Paul Johnston's sha512.js
https://github.com/lozjackson/ember-sha512

Last synced: 9 days ago
JSON representation

An Ember-cli addon version of Paul Johnston's sha512.js

Awesome Lists containing this project

README

        

# Ember-sha512

The is an Ember-cli addon version of Paul Johnston's sha512.js

http://pajhome.org.uk/crypt/md5/sha512.html

## Basic Usage

```
import sha512 from 'ember-sha512';

let hex = sha512.hex_sha512('abc');

let b64 = sha512.b64_sha512('abc');
```

or using named imports..

```
import { hex_sha512, b64_sha512 } from 'ember-sha512';

let hex = hex_sha512('abc');

let b64 = b64_sha512('abc');
```

## Installation

* `npm install ember-sha512 --save-dev`