Puppy Linux Blog

About





This Blog:
PRITLOG is an extremely simple, small and powerful blog system. 
Just drop Pritlog into your server and it starts running. No separate installation is required. The basic idea is derived from a similar app called PPLOG.

Stats

Users Online: 0
Hits: 0

Encryption

Download 'openssl' and learn to use it.

Contents of message.txt:
This is a very secret message.

[encrypt the message]
openssl enc -a  -aes-256-cbc -in message.txt -out encryptedMessage.txt

encryptedMessage.txt
U2FsdGVkX1+Fv0u9RDYb1jTE8s7qM4+vtn0JnP­Hrq8fbKhQNk26E7PJpUGA88fut

[decrypt the message]
openssl enc -a -d -aes-256-cbc -in encryptedMessage.txt -out message.txt

  • Use long complicated passwords
  • Never store your password on your computer
  • if you are extra paranoid copy the message to a memory stick and encrypt/decrypt on another computer not on the internet, ever.

OR....Use gnupg (gpg)

message.txt
This is a very secret message

[encrypt the message]
# gpg -c message.txt

message.txt.gpg
Œ Œ ®HNŽ®ì`ÒX1ðJ¸˜ÌQKHÅ;›‚üX‰V~’;ÖHT†ª4 :á7WSÚÌçð`‘á
ÉÄÕd¢“6ÄQ0:    5EGuç_Fzwšãuž³½ó^¼!{=M,#šÀ

[decrypt message.txt.gpg]
# gpg -o message.txt -d message.txt.gpg

The decrypted message will appear in the stdout unless you use the -o (output) option, as above.

Author: admin -  Date: 08 Jan 2021 02:38
Category: security -  Visits: 194

No Comments - Edit - Delete

Comments:

No comments posted yet!


Add Comment

Comment Form







 (JSE3D2UV)