feat: crypto interface (#2)

* docs: initial crypto readme

* feat: add basic crypto interface test suite

* feat: add optional remotepeer for inbound

feat: add errors export

* docs(fix): update src/crypto/README.md

Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
This commit is contained in:
Jacob Heun
2019-10-21 14:44:17 +02:00
committed by GitHub
parent f7239faefc
commit 5a5c44a770
8 changed files with 304 additions and 1 deletions

View File

@ -0,0 +1,13 @@
/* eslint-env mocha */
'use strict'
const tests = require('../../src/crypto/tests')
const mockCrypto = require('./mock-crypto')
describe('compliance tests', () => {
tests({
setup () {
return mockCrypto
}
})
})