Slides

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 80

AES

PLAYFAI
R
VIGENER
E
01 MÃ HÓA 02MÃ HÓA
PLAYFAIR VIGENERE

03
ADVANCED ENCRIPTION STANDARD -
AES
MÃ HÓA
Giới PLAYFAIR
thiệu:
PLAYFAIR là một phương pháp mã hóa dùng trong mật mã hóa đồng
thời hai ký tự trong văn bản bằng cách sử dụng một bảng chứa một tập
hợp các ký tự. Được phát minh vào năm 1854 bởi Charles Wheatstone
nhưng được đặt theo tên của Lord Playfair, người đã thúc đẩy việc sử
dụng mật mã

Để mã hóa sử dụng thuật toán PLAYFAIR, ta cần có một khóa là một


từ tùy chọn ngẫu nhiên
MÃ HÓA
PLAYFAIR
Các bước mã hóa sử dụng playfair: Gồm 3 bước

Bước 1: Tạo bảng mã hóa là


ma trận 5*5 dựa trên khóa
được chọn, đơn giản giống như
việc viết bài, đặt các ký tự lần
lượt từ trái sang phải, kết thúc
hàng thì bắt đầu ở hàng bên
dưới.

Ví dụ bảng mã hóa với key là “SECURITY”


MÃ HÓA
PLAYFAIR
Các bước mã hóa sử dụng playfair: Gồm 3 bước
Bước 2: Chia các ký tự cần mã hóa thành các cặp ký tự
Ví dụ: “HELLOWORLD” => ‘HE’ ‘LL’ ‘OW’ ‘OR’ ‘LD’.
Tuy nhiên trong phương pháp mã hóa này không cho phép 2 ký tự
trong cùng một cặp trùng nhau, chèn giữa chúng ký tự x, ta có kết quả:
‘HE’ ‘LX’ ‘LO’ ‘WO’ ‘RL’ ‘D’
Tuy nhiên thuật toán này yêu cầu phải cần 1 cặp ký tự để mã hóa, chèn
z vào ký tự cuối cùng, ta được kết quả:
‘HE’ ‘LX’ ‘LO’ ‘WO’ ‘RL’ ‘DZ’
MÃ HÓA
PLAYFAIR
Bước 3: Mã hóa
MÃ HÓA
PLAYFAIR
Bước 3: Mã hóa
MÃ HÓA
PLAYFAIR
Bước 3: Mã hóa
01 MÃ HÓA 02MÃ HÓA
PLAYFAIR VIGENERE

03
ADVANCED ENCRIPTION STANDARD -
AES
MÃ HÓA
VIGENERE
Giới
thiệu:

Là một hệ mã thay thế dùng nhiều bảng chữ cái, để thay thế các loại mã
dùng một bảng chữ cái đã có từ trước. Hệ mã này được đặt theo tên của
một nhà mật mã học người Pháp Blaise de Vigenère (1523-1596)

Để mã hóa sử dụng thuật toán VIGENERE, ta cũng cần có một khóa là


một từ tùy chọn ngẫu nhiên
MÃ HÓA
VIGENERE
Mã hóa sử dụng
VIGENERE

Ta có bảng mã hóa cho


trước như sau. Đơn giản
chỉ là một bảng có các
hàng và cột là bảng chữ cái
theo thứ tự alphabet
MÃ HÓA
VIGENERE
Mã hóa sử dụng
VIGENERE
Bước 1: Lặp lại khóa theo vòng tròn để tạo thành chuỗi sao cho chiều
dài của chuỗi khóa bằng với độ dài chuỗi cần mã hóa

Ví dụ: Plain text đầu vào là “HELLOWORLD” có 10 ký tự, và key là


“KEY” có 3 ký tự => Chuỗi khóa phải là “KEYKEYKEYK”

Bước 2: Lấy ra cặp ký tự của chuỗi cần mã hóa với chuỗi khóa sao
cho chúng có cùng giá trị chỉ mục trong chuỗi, đối chiếu lên bảng lúc
đầu với ký tự của chuỗi cần mã hóa là hàng và ký tự của khóa là cột
MÃ HÓA
VIGENERE
Mã hóa sử dụng
VIGENERE

Ví dụ đối với ký tự a của và b lần


lượt là 2 ký tự của chuỗi cần mã
khóa và ký tự của chuỗi khóa
01 MÃ HÓA 02MÃ HÓA
PLAYFAIR VIGENERE

03
ADVANCED ENCRIPTION STANDARD -
AES
ADVANCED ENCRIPTION STANDARD -
AES

Là một đặc điểm kỹ thuật cho AES thực hiện các hoạt
việc mã hóa dữ liệu điện tử động trên byte dữ liệu thay vì
được thành lập bởi Viện Tiêu theo bit. Vì kích thước khối là 1
chuẩn và Công nghệ Quốc 8bit, mật mã xử lý 128-bit (hoặc
gia Hoa Kỳ (NIST) vào năm 16 byte) dữ liệu đầu vào cùng
2001 và được sử dụng rộng một lúc. AES thực hiện các phép
rãi ngày nay toán số học trong trường hữu hạn
Galois GF(28)
ADVANCED ENCRIPTION STANDARD -
AES
Số vòng lặp lại để mã hóa phụ thuộc vào số bit của
khóa
128 bit: 10 vòng lặp 192-bit: 12 vòng lặp 256-bit: 14 vòng lặp
được chọn để đảm bảo được chọn để đảm được chọn để cung
độ an toàn đủ trong bảo độ an toàn với cấp một mức độ bảo
hầu hết các trường hợp một độ dài khóa lớn mật cao nhất, phù
sử dụng. hơn, cung cấp một hợp với các ứng
lớp bảo mật mạnh dụng cần bảo mật
mẽ hơn. cực kỳ cao.
ADVANCED ENCRIPTION STANDARD -
AES
Các dữ liệu hằng được cung cấp cho việc mã hóa

AES S-Box
ADVANCED ENCRIPTION STANDARD -
AES
Các dữ liệu hằng được cung cấp cho việc mã hóa
{02}^(i-1), {00}, {00},
{00}

RCON[
Ma trận hằng I]
ADVANCED ENCRIPTION STANDARD -
AES
Mã hóa:

B1 ShiftRow B3 AddRoundKey

SubByte B2 MixColumn
B4
ADVANCED ENCRIPTION STANDARD -
AES

SubByte
Sử dụng bảng S – Box ở trên để chuyển đổi 2 ký tự hex thành các ký
tự hex khác. Ký tự đầu tiên là chỉ mục của hàng và ký tự thứ hai là
chỉ mục của cột

ShiftRow
Dịch chuyển các hàng theo số lần bằng số hàng trừ đi 1 (n – 1: với n
là chỉ mục của hàng). Ở đây là phép dịch trái
ADVANCED ENCRIPTION STANDARD -
AES

MixColumn

Nhân ma trận hằng đã cho với ma


trận dữ liệu. Lưu ý rằng ta phải lấy
ma trận hằng nhân với ma trận dữ
liệu theo đúng thứ tự
ADVANCED ENCRIPTION STANDARD -
AES

AddRoundKey: Sinh khóa

B1 SubByte B3

RotWord B2 RCON
ADVANCED ENCRIPTION STANDARD -
AES

AddRoundKey: Sinh khóa


RotWord SubByte RCON
Byte đầu tiên của từ Sử dụng bảng S – Box Thêm RCON để
được di chuyển xuống để tạo thành các giá trị tạo nên sự đa
dưới cùng và các byte mới (Tương tự với dạng cho quá
còn lại trong từ được SubByte ở bước mã trình sinh khóa
dịch chuyển sang trái hóa ở trên) vòng. Tùy theo
một vị trí. từng cột khóa
khác nhau mà ta
Khối dữ liệu làm
có các bước sinh
việc trong quá trình
ra khác nhau
này là cột dữ liệu
ADVANCED ENCRIPTION STANDARD -
AES

AddRoundKey: Sinh khóa


Quá trình sinh khóa sẽ có một vài điểm khác nhau đối với từng cột:
Đối với cột đầu tiên, ta lấy giá trị tham chiếu là cột cuối cùng của
khóa trước, sau đó thực hiện các bước RotWord, SubByte, sau đó
thực hiện toán tử XOR với RCON thứ I (I sẽ là khóa con thứ i) và với
cột đầu tiên của khóa trước.
Đối với các hàng còn lại, ta chỉ cần lấy giá trị tham chiếu là cột khóa
đã tạo trước đó rồi thực hiện toán tử XOR với cột tương ứng trong
khóa cũ
ADVANCED ENCRIPTION STANDARD -
AES

AddRoundKey: Mã hóa
Đơn giản là bạn chỉ cần thực hiện toán tử XOR giữa hai cột có cùng
giá trị chỉ mục trong ma trận dữ liệu và ma trận khóa vòng
ADVANCED ENCRIPTION STANDARD -
AES
Một số lưu ý khi mã hóa:
- Dữ liệu cần mã hóa có kích thước 128 bit, dưới dạng một ma
trận 4*4 và được sắp xếp theo hàng

- Tất cả các lần lặp đều bao gồm 4 bước như đã được nêu là:
SubByte, ShiftRow, MixColumn, AddRoundKey. Chỉ riêng lần
lặp cuối cùng là không có thực hiện bước MixColumn
MISSION STATEMENT

Here you could describe the


company’s mission. A clear
message is a good way to
get down to business
OUR COMPANY

Mercury is the closest


planet to the Sun and the
smallest one in the Solar
System—it’s only a bit
larger than the Moon
SECURITY
COMPANY
01
BUSINESS
OVERVIEW
You could enter a subtitle
here if you need it
MARKET TRENDS

Mars

Saturn

Venus

Edit this!
To modify this graph, click on
it, follow the link, change the
data and paste the resulting
graph here
PROBLEM VS. SOLUTION

Problem Solution
Mercury is the closest planet to Venus has a beautiful name and is
the Sun and the smallest one in the second planet from the Sun.
the Solar System—it’s only a bit It’s terribly hot and its
larger than the Moon atmosphere is poisonous
COMPETITORS

Mars Jupiter Saturn


Despite being red, Mars is It’s a gas giant and the Saturn is a gas giant,
actually a cold place full of biggest planet in the Solar composed mostly of
iron oxide System hydrogen and helium
ADVANCED ENCRIPTION STANDARD -
AES
Mã hóa:

B1 ShiftRow B3 AddRoundKey

SubByte B2 MixColumn
B4
COMPETITIVE ADVANTAGE

Them
Mercury is the closest planet to
the Sun and the smallest one in
the Solar System

Us
Jupiter is, the biggest planet in
the Solar System and the fourth-
brightest object in the sky
BALANCE SHEET

Liabilities
Liabilities
1M What the 700K
company owes What the
company owes

Assets Equity
300K
What the Difference 300K
company owns between both
02
MARKET
ANALYSIS
You could enter a subtitle
here if you need it
TARGET

60% $50K - $60K


Women Average spend per customer
Saturn is a gas giant Mercury is the smallest planet in the
and has rings Solar System

25+ Y/O 25- Y/O


MARKET SIZE

5%
Mercury
Mercury is the
smallest planet
55% Saturn
It’s a gas giant
40%
and has rings
Mars
Mars is actually a
cold place
MARKET SHARE
To modify this graph, click on it, follow the link,
change the data and paste the new graph here

Jupiter Mercury Venus Mars


Jupiter is the Mercury is the Venus is the Despite being
biggest planet of closest planet to second planet red, Mars is a
them all the Sun from the Sun cold place
COMPETITION ANALYSIS

Jupiter Mercury Venus Mars

Yes No Yes No

Yes No Yes Yes

No Yes No Yes
03
MARKETING
PLAN
You could enter a subtitle
here if you need it
OUR SERVICES

Mercury Venus Mars


Mercury is the closest Venus is the second planet Despite being red, Mars is
planet to the Sun from the Sun actually a cold place

Jupiter Saturn Neptune


It’s the biggest planet in the Saturn is composed of Neptune is the farthest
Solar System hydrogen and helium planet from the Sun
BREAK-EVEN ANALYSIS

Big Loss Break-Even Point High Profit


Mercury is the Jupiter is the Earth is where we
smallest planet biggest planet live on

Loss Profit
Mars is actually a Saturn has
cold place several rings
OUR PLANS

BASIC STANDARD PREMIUM

$19.99 $25.99 $30.99

● Service 1 ● Service 1 ● Service 1


● Service 2 ● Service 2 ● Service 2
● Service 3 ● Service 3 ● Service 3

START START START


SALES AND DISTRIBUTION

Channel 2 Channel 3
Mercury is the Saturn has
smallest planet several rings

Channel 1 Channel 4
Mars is actually a Earth is where we
cold place live on
A PICTURE ALWAYS
REINFORCES THE
CONCEPT
Images reveal large
amounts of data, so
remember: use an image
instead of long texts
ADVERTISING AND PROMOTION

Advertising PR Online
Jupiter is a gas giant and Venus has a beautiful name Despite being red, Mars is
the biggest planet in the and is the second planet actually a cold place full of
Solar System from the Sun iron oxide dust
04
MANAGEMEN
T PLAN
You could enter a subtitle
here if you need it
OUR TEAM

Albert Clifford
You can replace the image on the
screen with your own

Joey Patterson
You can replace the image on the
screen with your own

Laura Doe
You can replace the image on the
screen with your own
ORGANIZATIONAL CHART

A Team 1

IT Department B Team 2

C Team 3
CEO

Marketing Department D Team 1


OUR PARTNERS

This is a list of partners

● Here you can talk about your


partners
● Here you can talk about your
partners
● Here you can talk about your
partners
● Here you can talk about your
partners
OUR EXPANSION

Mercury is the
smallest planet

Venus has a
beautiful name
05
OPERATING
PLAN
You could enter a subtitle
here if you need it
OUR PROCESS

Week 2 Week 4
Mars is actually a Earth is where we
cold place live on

Week 1 Week 3
Mercury is the Saturn has
smallest planet several rings
A PICTURE
IS WORTH
A
THOUSAND
WORDS
06
FINANCIAL
PLAN
You could enter a subtitle
here if you need it
PREDICTED GROW
Earth
Earth is where we
live on

Mercury
Saturn
Mercury is the
smallest planet Saturn has
several rings
Mars
Mars is actually a
cold place
498,300,000
Estimated total amount
THANKS!
Do you have any questions?
youremail@freepik.com
+91 620 421 838
yourcompany.com

CREDITS: This presentation template was created by


Slidesgo, including icons by Flaticon, infographics &
images by Freepik and illustrations by Stories

Please keep this slide for attribution.


ALTERNATIVE RESOURCES
Find more illustrations like these on
Stories by Freepik
RESOURCES

Did you like the resources on this template? ● Collaboration concept illustration
Get them for free at our other websites. ● Checklist concept illustration
● Transfer files concept illustration
VECTORS: ● Organizing projects concept illustration
● Connecting teams concept illustration
Find more illustrations like these on ● Meeting concept illustration
Stories by Freepik ● Mobile apps concept illustration
● Concept illustration
● No data concept illustration ● New message concept illustration
● Secure data concept illustration ● Mission impossible concept illustration
● Image upload concept illustration ● Alert concept illustration
● Credit card concept illustration ● Secure server concept illustration
● Profile pic concept illustration
● Cloud hosting concept illustration
RESOURCES

● Active support concept illustration


● Safe concept illustration
● Logotype
● Login concept illustration
● Security concept illustration

PHOTOS:

● Motherboard with optical fiber cables


● Hacking concept
Instructions for use
In order to use this template, you must credit Slidesgo by keeping the Thanks slide.

You are allowed to:


- Modify this template.
- Use it for both personal and commercial projects.

You are not allowed to:


- Sublicense, sell or rent any of Slidesgo Content (or a modified version of Slidesgo Content).
- Distribute Slidesgo Content unless it has been expressly authorized by Slidesgo.
- Include Slidesgo Content in an online or offline database or file.
- Offer Slidesgo templates (or modified versions of Slidesgo templates) for download.
- Acquire the copyright of Slidesgo Content.

For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
Fonts & colors used
This presentation has been made using the following fonts:

Viga
(https://fonts.google.com/specimen/Viga)

DM Sans
(https://fonts.google.com/specimen/DM+Sans)

#acffd9 #1f1c51 #8be3ff


Stories by Freepik
Create your Story with our illustrated concepts. Choose the style you like the most, edit its colors, pick
the background and layers you want to show and bring them to life with the animator panel! It will boost
your presentation. Check out how it works.

Pana Amico Bro Rafiki


Use our editable graphic resources...
You can easily resize these resources without losing quality. To change the color, just ungroup the resource
and click on the object you want to change. Then, click on the paint bucket and select the color you want.
Group the resource again when you’re done.
JANUARY FEBRUARY MARCH APRIL MAY JUNE

PHASE 1

Task 1

Task 2

PHASE 2

Task 1

Task 2

JANUARY FEBRUARY MARCH APRIL

PHASE
1

Task 1

Task 2
...and our sets of editable icons
You can resize these icons without losing quality.
You can change the stroke and fill color; just select the icon and click on the paint bucket/pen.
In Google Slides, you can also use Flaticon’s extension, allowing you to customize and add even more icons.
Educational Icons Medical Icons
Business Icons Teamwork Icons
Help & Support Icons Avatar Icons
Creative Process Icons Performing Arts Icons
Nature Icons
SEO & Marketing Icons

You might also like