mirror of
https://github.com/cupcakearmy/occulto.git
synced 2025-09-11 07:00:46 +00:00
2.0.0 (#3)
* rewrite * testing worklflow * sprcify version * config stuff * add hash as buffer * delete docs * use typedarray everywhere and docs * readme * aes * cleanup * rsa * testing with playwright * fix playwright * readme * docs * update deps * use headless * add prepublish * build pipeline * move types up * move types up * add types legacy * packaging * versions bump * cleanup * maybe this time * drop support for commonjs * version bump * cleanup
This commit is contained in:
26
src/index.ts
26
src/index.ts
@@ -1,20 +1,6 @@
|
||||
import H from './Hash'
|
||||
import R from './RSA'
|
||||
import S from './Symmetric'
|
||||
import U from './Util'
|
||||
|
||||
export const RSA = R
|
||||
export const Symmetric = S
|
||||
export const Hash = H
|
||||
export const Util = U
|
||||
|
||||
|
||||
export default {
|
||||
RSA,
|
||||
Symmetric,
|
||||
Hash,
|
||||
Util,
|
||||
}
|
||||
|
||||
// Require node 11
|
||||
if (parseInt(process.versions.node.split('.')[0]) < 11) throw new Error('Node 11 or higher is required')
|
||||
export * from './crypto/aes.js'
|
||||
export * from './crypto/encoding.js'
|
||||
export * from './crypto/hash.js'
|
||||
export * from './crypto/random.js'
|
||||
export * from './crypto/rsa.js'
|
||||
export * from './utils/base.js'
|
||||
|
Reference in New Issue
Block a user