For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
const id = Helper.generateUnified(179); // generate tracking ID for customer 179 | |
console.log( id ) | |
> ZQA-179-946629 |
window._research = window._research || {}; | |
window._research._fn = { | |
i18n: function () { | |
return function (o, render) { | |
o = o.split('}}')[0] + '.' + window._locale + '}}'; | |
return render(o).trim(); | |
} | |
}, | |
fullDate: function () { |
module.exports = { | |
config: { | |
// update channel? | |
updateChannel: 'stable', | |
// default font size in pixels for all tabs | |
fontSize: 15, | |
// font family with optional fallbacks | |
fontFamily: '"Fira Code", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
uiFontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto", |
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am kulturpessimist on github. | |
* I am kulturpessimist (https://keybase.io/kulturpessimist) on keybase. | |
* I have a public key whose fingerprint is 5E8E 81AC D750 2919 1127 226D 4E05 9FC5 47DD DDA0 | |
To claim this, I am signing this object: |
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json') | |
}); | |
grunt.loadTasks('grunt'); | |
// Tasks | |
grunt.registerTask('default', ['build']); |
String.prototype.pad = function(lenght, padding, left) { | |
var p = (new Array(lenght - this.toString().length + 1)).join(padding); | |
return ( left?p+this:this+p ) | |
} |