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:
#ifndef MINIPOOL_H | |
#define MINIPOOL_H | |
#include <cassert> | |
#include <cstddef> | |
#include <memory> | |
#include <new> | |
#include <utility> | |
/* |
mkdir emacs | |
cd emacs | |
git init | |
git remote add origin https://github.com/emacs-mirror/emacs.git | |
git fetch --depth 1 origin emacs-26 | |
git reset --hard FETCH_HEAD | |
sudo apt install autoconf make gcc texinfo libgtk-3-dev libxpm-dev libjpeg-dev libgif-dev libtiff5-dev libgnutls-dev libncurses5-dev | |
./configure | |
make | |
sudo make install |
#include <opencv2\opencv.hpp> | |
using namespace cv; | |
using std::cout; | |
/*--------------- SKIN SEGMENTATION ---------------*/ | |
int main () { | |
VideoCapture cap(0); | |
if(!cap.isOpened()) |
var today = new Date(); | |
var date = prompt("Datum des Montags in der ersten Tutorienwoche (Format TT.MM.JJJJ)",('0' + today.getDate()).slice(-2)+"."+('0' + (today.getMonth()+1)).slice(-2)+"."+today.getFullYear()); | |
var count = prompt("Anzahl der Wiederholungen","13"); | |
if(date != null && count != null) { | |
var temp = date.split("."); | |
var year = temp[2]; | |
var month = temp[1]; | |
var day = parseInt(temp[0]); | |
var out = "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//phiresky.de//tools\n"; | |
var t = $("table.piTable>tbody").children; |
#! /usr/bin/env python | |
import argparse | |
import itertools | |
import cv2 | |
import numpy as np | |
if __name__=='__main__': | |
parser = argparse.ArgumentParser( |
#ifndef MULTIDIMENSIONALARRAY_H | |
#define MULTIDIMENSIONALARRAY_H | |
#include <array> | |
#include <cstddef> | |
#include <type_traits> | |
// https://github.com/christophercrouzet/m3ta | |
#include <m3ta/nestedinitializerlists> | |
#include <m3ta/pass> |
using UnityEngine; | |
/* | |
* Most functions taken from Tween.js - Licensed under the MIT license | |
* at https://github.com/sole/tween.js | |
* Quadratic.Bezier by @fonserbc - Licensed under WTFPL license | |
*/ | |
public delegate float EasingFunction(float k); | |
public class Easing |
# assign workspaces to screens | |
workspace 1 output DVI-I-1 | |
workspace 2 output DVI-I-1 | |
workspace 3 output DVI-I-1 | |
workspace 4 output DVI-I-1 | |
workspace 5 output DVI-I-1 | |
workspace 6 output HDMI-0 | |
workspace 7 output HDMI-0 | |
workspace 8 output HDMI-0 | |
workspace 9 output HDMI-0 |
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: | |
openssl aes-256-cbc -salt -a -d -in encrypted.txt -out plaintext.txt | |
For Asymmetric encryption you must first generate your private key and extract the public key. |