added custom encryption/decryption

This commit is contained in:
2021-06-06 23:53:56 -05:00
parent 9ea1e98d0a
commit d2c4c5e57a
3 changed files with 34 additions and 8 deletions

View File

@@ -1,6 +1,16 @@
import {v4 as uuidv4} from 'uuid';
import { v4 as uuidv4 } from 'uuid';
import _package_json from '../../package.json';
let customEncryption;
export const getCustomEncryption = () => {
return customEncryption;
};
export const setCustomEncryption = (ce) => {
customEncryption = ce;
};
export const instance_id = uuidv4();
export const package_json = _package_json;
export const get_version = () =>