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
€59.74
List Price:  €85.35
You save:  €25.60
£51.73
List Price:  £73.91
You save:  £22.17
CA$95.55
List Price:  CA$136.51
You save:  CA$40.95
A$97.78
List Price:  A$139.69
You save:  A$41.91
S$89.29
List Price:  S$127.57
You save:  S$38.27
HK$548.28
List Price:  HK$783.29
You save:  HK$235.01
CHF 54.97
List Price:  CHF 78.53
You save:  CHF 23.56
NOK kr651.52
List Price:  NOK kr930.78
You save:  NOK kr279.26
DKK kr446.42
List Price:  DKK kr637.78
You save:  DKK kr191.35
NZ$119.33
List Price:  NZ$170.48
You save:  NZ$51.15
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,590.30
List Price:  ৳12,272.38
You save:  ৳3,682.08
₹6,647.51
List Price:  ₹9,496.85
You save:  ₹2,849.34
RM277.86
List Price:  RM396.96
You save:  RM119.10
₦96,202.65
List Price:  ₦137,438.25
You save:  ₦41,235.60
₨19,515.93
List Price:  ₨27,881.10
You save:  ₨8,365.16
฿2,278.13
List Price:  ฿3,254.62
You save:  ฿976.48
₺3,162.48
List Price:  ₺4,518.02
You save:  ₺1,355.54
B$349.66
List Price:  B$499.53
You save:  B$149.87
R1,173.64
List Price:  R1,676.71
You save:  R503.06
Лв116.89
List Price:  Лв167
You save:  Лв50.10
₩103,192.32
List Price:  ₩147,423.92
You save:  ₩44,231.59
₪207.52
List Price:  ₪296.47
You save:  ₪88.95
₱4,298.15
List Price:  ₱6,140.48
You save:  ₱1,842.32
¥10,999.52
List Price:  ¥15,714.28
You save:  ¥4,714.75
MX$1,225.48
List Price:  MX$1,750.77
You save:  MX$525.28
QR255.05
List Price:  QR364.37
You save:  QR109.32
P946.32
List Price:  P1,351.94
You save:  P405.62
KSh9,039.20
List Price:  KSh12,913.70
You save:  KSh3,874.50
E£3,755.70
List Price:  E£5,365.52
You save:  E£1,609.81
ብር10,954.51
List Price:  ብር15,649.97
You save:  ብር4,695.46
Kz63,908.98
List Price:  Kz91,302.46
You save:  Kz27,393.48
CLP$63,338.85
List Price:  CLP$90,487.95
You save:  CLP$27,149.10
CN¥477.78
List Price:  CN¥682.58
You save:  CN¥204.79
RD$4,155.65
List Price:  RD$5,936.90
You save:  RD$1,781.25
DA9,274.53
List Price:  DA13,249.90
You save:  DA3,975.37
FJ$153.99
List Price:  FJ$220
You save:  FJ$66
Q534.89
List Price:  Q764.16
You save:  Q229.27
GY$14,647.75
List Price:  GY$20,926.26
You save:  GY$6,278.50
ISK kr8,605.27
List Price:  ISK kr12,293.77
You save:  ISK kr3,688.50
DH648.02
List Price:  DH925.79
You save:  DH277.76
L1,206
List Price:  L1,722.93
You save:  L516.93
ден3,684.23
List Price:  ден5,263.41
You save:  ден1,579.18
MOP$565.17
List Price:  MOP$807.42
You save:  MOP$242.25
N$1,161.02
List Price:  N$1,658.67
You save:  N$497.65
C$2,573.59
List Price:  C$3,676.71
You save:  C$1,103.12
रु10,619.11
List Price:  रु15,170.81
You save:  रु4,551.70
S/245.98
List Price:  S/351.42
You save:  S/105.43
K303.99
List Price:  K434.30
You save:  K130.30
SAR262.50
List Price:  SAR375.01
You save:  SAR112.51
ZK1,321.46
List Price:  ZK1,887.88
You save:  ZK566.42
L309.46
List Price:  L442.11
You save:  L132.64
Kč1,456.24
List Price:  Kč2,080.43
You save:  Kč624.19
Ft21,784.76
List Price:  Ft31,122.42
You save:  Ft9,337.66
SEK kr646.87
List Price:  SEK kr924.14
You save:  SEK kr277.27
ARS$97,359.41
List Price:  ARS$139,090.83
You save:  ARS$41,731.42
Bs483.77
List Price:  Bs691.13
You save:  Bs207.36
COP$251,992.90
List Price:  COP$360,005.29
You save:  COP$108,012.38
₡31,839.18
List Price:  ₡45,486.50
You save:  ₡13,647.31
L1,862.15
List Price:  L2,660.33
You save:  L798.17
₲438,642.10
List Price:  ₲626,658.43
You save:  ₲188,016.33
$U2,791.66
List Price:  $U3,988.26
You save:  $U1,196.59
zł254.60
List Price:  zł363.73
You save:  zł109.13
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.