TIPS & TRICKS

Cryptography In RedHat 7

Generate your private key with security using des3 algo:-
=======================================================

[root@redhat7 Desktop]# openssl genrsa -des3 1024 >priv.key
Generating RSA private key, 1024 bit long modulus
….++++++
….++++++
e is 65537 (0x10001)
Enter pass phrase:
Verifying – Enter pass phrase:
Note: If you have a encrypted private key then to decrypt it use below method
[root@redhat7 Desktop]# openssl rsa -in priv.key -out privenc.txt
Enter pass phrase for priv.key:
writing RSA key

Note: In above Result priv.key is encrypted private key

@@ If your private key has been generated already then to encrypt that private key

[root@redhat7 Desktop]# openssl rsa -des3 -in pp.key -out ppenc.key
writing RSA key
Enter PEM pass phrase:
Verifying – Enter PEM pass phrase:

Encrypting a file using public key:
==================================

[root@redhat7 Desktop]# openssl rsautl -encrypt -inkey public.key -pubin -in data.txt -out dataenc.txt

Note: here

1. public.key: is public key
2. data.txt : is a file to encrypt
3. dataenc.txt : is file where encrypted data will be stored
To Decrypt a file using private key:
===================================
[root@redhat7 Desktop]# openssl rsautl -decrypt -inkey pp.key -in dateenc.txt -out datadec.txt

How to create bootable pendrive for linux and softwares to make pendrive bootable

Different Linux distributions are open source and free. You can download it from internet, install it and use it free.In this article I talked about how to create bootable pendrive for linus,  step by step process to make a bootable pendrive and software to make pendrive bootable.Iso files of Linux distribution is needed and from here, you can download ISO file for different Linux Distros.Ubuntu: http://www.ubuntu.com/download
Fedora: http://fedoraproject.org/get-fedora
Linux Mint: http://www.linuxmint.com/download.php

  • Download and install
  • Verizon mobile phones
  • Gsm mobile phone
  • Mobile Phones
  • Database management system
  • Orange mobile phones

How to create bootable pendrive | How to bootable pendrive

(1) Download and install Univeral USB Installer from here: Download software to create bootable pendrive

(2) Open the software and click on Run and I agree when prompted to create bootable pendrive.

software-to-make-pendrive-bootable

(3) Step 1 to create bootable pendrive: Select the Linux distribution from Dropdown. Suppose if you want to make a bootable pendrive for Linux mint then select Linux Mint’s version or if you want to create bootable pendrive for Ubuntu then select Ubuntu’s version.

If you are not able to find Linux distribution and its version from dropdown then select Try Unlisted Linux Iso.

Step 2 to bootable pendrive: Browse the iso file of the Linux distribution you selected in 1st step.Step 3 to make a bootable pendrive:  Select USB Device which you want to make a bootable pendrive.

how-to-bootable-pendrive

Step 4 to to bootable pendrive is optional so we won’t make changes.

  • Windows Xp
  • Latest mobile phone
  • Free mobile phones
  • Vodaphone mobile phones
  • Download and install
  • Verizon mobile phones

Click on Create, and software will start copying files to USB and make pendrive bootable.

how-to-create-bootable-pendrive

Different Softwares to software to make pendrive bootable and download links

(1) LinuxLive USB Creator: http://www.linuxliveusb.com/en/download
(2) YUMI: http://www.pendrivelinux.com/yumi-multiboot-usb-creator/
(3) UNetbootin: http://unetbootin.sourceforge.net/

Tags
how to create bootable pendrive
how to bootable pendrive
how to make bootable pendrive for linux
create bootable pendrive
make a bootable pendrive
software to make pendrive bootable