initial commit
This commit is contained in:
6
server/node_modules/jose/dist/node/esm/runtime/ciphers.js
generated
vendored
Normal file
6
server/node_modules/jose/dist/node/esm/runtime/ciphers.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { getCiphers } from 'crypto';
|
||||
let ciphers;
|
||||
export default (algorithm) => {
|
||||
ciphers || (ciphers = new Set(getCiphers()));
|
||||
return ciphers.has(algorithm);
|
||||
};
|
||||
Reference in New Issue
Block a user