mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
more shims, path, crypto, url
This commit is contained in:
12
shims/crypto/index.js
Normal file
12
shims/crypto/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// Crypto shim
|
||||
// Obsidian uses: scrypt, randomBytes, createHash
|
||||
|
||||
import { randomBytes } from './random-bytes.js';
|
||||
import { createHash } from './create-hash.js';
|
||||
import { scrypt } from './scrypt.js';
|
||||
|
||||
export const cryptoShim = {
|
||||
randomBytes,
|
||||
createHash,
|
||||
scrypt,
|
||||
};
|
||||
Reference in New Issue
Block a user