import JSEncrypt from 'jsencrypt';
export const getEncryptedData = (data, publicKey) => {
    const encrypt = new JSEncrypt();
    encrypt.setPublicKey(publicKey);
    const enData = encrypt.encrypt(data);
    return enData;
};
//# sourceMappingURL=getEncryptedData.js.map