1
0
mirror of synced 2025-11-09 05:17:24 +00:00

feat(browser): add browser build, tests, and sample sha256 library method

This commit is contained in:
Jason Dreyzehner
2017-02-23 03:06:55 -05:00
parent a56491f866
commit 01f67d103a
18 changed files with 901 additions and 65 deletions

6
src/lib/hash.spec.ts Normal file
View File

@@ -0,0 +1,6 @@
import { test } from 'ava'
import { sha256 } from 'typescript-starter'
test('sha256', t => {
t.deepEqual(sha256('test'), '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08')
})