Tag Archives: encrypt

Powershell: Encrypt and decrypt strings with the host key

Hi,

each Windows machine has it’s own host key. This can be used to encrypt data which are only decrypted by this computer.

Continue reading Powershell: Encrypt and decrypt strings with the host key

Advertisment to support michlstechblog.info

Linux: Serial interface/terminal redirecting/forwarding over a TLS encrypted TCP/IP connection

Hi,

the scenario: A device with a serial console for example a raspberry pi, orange pi, esp8266 with tasmota, digital multimeter etc. runs headless, but you want to able to connect to the serial console with linux system here called serialServer over the network.
Continue reading Linux: Serial interface/terminal redirecting/forwarding over a TLS encrypted TCP/IP connection

OpenSSL: Asymmetric en- and decryption of a file


Hi,

this post describes the en- and decryption of a file with a asymmetric encryption algorithm.

Asymmetric encryption means you encrypt data by a public key and can only decrypt this data with a private key associated with the public key.
Continue reading OpenSSL: Asymmetric en- and decryption of a file

OpenSSL: Symmetric en- and decryption of a file


Hi,

this post describes the en- and decryption of a file with a symmetric encryption algorithm.

Symmetric encryption means encryption and decryption is only possible with the same secret/password.
Continue reading OpenSSL: Symmetric en- and decryption of a file

Powershell: En- and Decrypt string with AES256

Hi,

if you have the requierment to encrypt strings in Powershell the .NET Framework offers some classes for this case. This is a symmetric encryption. Receiver and Sender uses the same Password/Key to en- and decrypt the message.
Continue reading Powershell: En- and Decrypt string with AES256