Output the keys and the IV's

Encryption 101 Symmetric Encryption
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€61.05
List Price:  €87.22
You save:  €26.17
£52.86
List Price:  £75.52
You save:  £22.65
CA$96.63
List Price:  CA$138.06
You save:  CA$41.42
A$100.14
List Price:  A$143.06
You save:  A$42.92
S$89.69
List Price:  S$128.13
You save:  S$38.44
HK$548.05
List Price:  HK$782.96
You save:  HK$234.91
CHF 55.52
List Price:  CHF 79.32
You save:  CHF 23.80
NOK kr682.13
List Price:  NOK kr974.52
You save:  NOK kr292.38
DKK kr458.09
List Price:  DKK kr654.44
You save:  DKK kr196.35
NZ$121.18
List Price:  NZ$173.12
You save:  NZ$51.94
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,587.72
List Price:  ৳12,268.70
You save:  ৳3,680.97
₹6,476.90
List Price:  ₹9,253.12
You save:  ₹2,776.21
RM275.65
List Price:  RM393.81
You save:  RM118.15
₦96,995.75
List Price:  ₦138,571.29
You save:  ₦41,575.54
₨19,541.24
List Price:  ₨27,917.26
You save:  ₨8,376.01
฿2,277.73
List Price:  ฿3,254.04
You save:  ฿976.31
₺3,091.10
List Price:  ₺4,416.05
You save:  ₺1,324.94
B$373.10
List Price:  B$533.03
You save:  B$159.92
R1,181.63
List Price:  R1,688.12
You save:  R506.48
Лв119.90
List Price:  Лв171.29
You save:  Лв51.39
₩105,088.58
List Price:  ₩150,132.98
You save:  ₩45,044.40
₪220.08
List Price:  ₪314.42
You save:  ₪94.33
₱4,170.49
List Price:  ₱5,958.10
You save:  ₱1,787.60
¥11,180.55
List Price:  ¥15,972.90
You save:  ¥4,792.35
MX$1,256.33
List Price:  MX$1,794.84
You save:  MX$538.50
QR254.40
List Price:  QR363.44
You save:  QR109.04
P953.66
List Price:  P1,362.43
You save:  P408.77
KSh9,052.10
List Price:  KSh12,932.13
You save:  KSh3,880.02
E£3,663.27
List Price:  E£5,233.47
You save:  E£1,570.20
ብር10,924.18
List Price:  ብር15,606.64
You save:  ብር4,682.46
Kz64,180.83
List Price:  Kz91,690.83
You save:  Kz27,510
CLP$64,211
List Price:  CLP$91,733.94
You save:  CLP$27,522.93
CN¥482.69
List Price:  CN¥689.59
You save:  CN¥206.89
RD$4,299.66
List Price:  RD$6,142.63
You save:  RD$1,842.97
DA9,283.19
List Price:  DA13,262.27
You save:  DA3,979.08
FJ$155.98
List Price:  FJ$222.84
You save:  FJ$66.86
Q536.69
List Price:  Q766.73
You save:  Q230.04
GY$14,641.79
List Price:  GY$20,917.74
You save:  GY$6,275.94
ISK kr8,839.73
List Price:  ISK kr12,628.73
You save:  ISK kr3,789
DH659.14
List Price:  DH941.68
You save:  DH282.53
L1,220.88
List Price:  L1,744.19
You save:  L523.30
ден3,761.13
List Price:  ден5,373.27
You save:  ден1,612.14
MOP$564.17
List Price:  MOP$805.99
You save:  MOP$241.82
N$1,175.09
List Price:  N$1,678.78
You save:  N$503.68
C$2,575.15
List Price:  C$3,678.95
You save:  C$1,103.79
रु10,335.96
List Price:  रु14,766.30
You save:  रु4,430.33
S/241.34
List Price:  S/344.79
You save:  S/103.44
K302.16
List Price:  K431.68
You save:  K129.51
SAR262.66
List Price:  SAR375.25
You save:  SAR112.58
ZK1,362.21
List Price:  ZK1,946.09
You save:  ZK583.88
L312.33
List Price:  L446.21
You save:  L133.87
Kč1,499.89
List Price:  Kč2,142.80
You save:  Kč642.90
Ft24,081.38
List Price:  Ft34,403.44
You save:  Ft10,322.06
SEK kr663.55
List Price:  SEK kr947.97
You save:  SEK kr284.42
ARS$97,662.53
List Price:  ARS$139,523.88
You save:  ARS$41,861.35
Bs483.60
List Price:  Bs690.89
You save:  Bs207.28
COP$257,717.21
List Price:  COP$368,183.23
You save:  COP$110,466.01
₡32,927.87
List Price:  ₡47,041.84
You save:  ₡14,113.96
L1,852.52
List Price:  L2,646.58
You save:  L794.05
₲451,502.79
List Price:  ₲645,031.63
You save:  ₲193,528.84
$U2,826.59
List Price:  $U4,038.16
You save:  $U1,211.57
zł262.31
List Price:  zł374.75
You save:  zł112.43
Already have an account? Log In

Transcript

We've mentioned that using a password open SSL will derive the key based on the password as one of its parameters. Let's see how we can output the password sorry, the key and the salt that are being derived from the password. So let's use echo to write down some text. That's graphics. Open SSL. Let's use a Aes 128 ECB and let's use hyphen and uppercase p We will be asked for a password.

That's insert and password. And voila, we have the key that is derived from the password. And we also have the salt. Now, since we're using ECB, we do not need an IV an initialization vector, but if we will use the same encryption, which using CBC. Let's insert the password. And there it is.

We have the salt we have the key and we have the IV

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.