generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+6
@@ -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