mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
4 lines
126 B
JavaScript
4 lines
126 B
JavaScript
|
import { createHash, createHmac } from 'crypto-browserify';
|
||
|
|
||
|
let hash = createHash(algorithm);
|
||
|
let hmac = createHmac(fn, key);
|