Pertemuan-13
Enkripsi and Authentication

Jaringan Komputer
Teknik Informatika
Universitas Yudharta Pasuruan
2012

MOCHAMAD SIRODJUDIN, S.Kom, MM
www.sirodjudin.com
Symmetric-key Cryptography

• Data encrypted and decrypted with same key
• Classical examples: Caesar cipher, one-time pad,
Enigma Machine
Symmetric-key Cryptography: Drawbacks
• How do the parties get the shared, secret key?
• How do we transmit this or establish it securely?
• Must have some secret or ‘offline’ way of sending the secret.
• This is really hard to do in some situations…
• You could read it to them over the phone, but someone
could be tapping your phone in addition to your internet
connection.
• How can we both get the shared secret?
Public Key Cryptography
Each user has a keypair, consisting of a
public and private key

• Anything encrypted with one key may only be
decrypted by the other.
• To make message readable only by B, encrypt
message using B's public key
Where we are now…
• We can send coded messages without having to
establish any shared secret keys between us
ahead of time.
• There’s another exciting application of this
technology from the fact that Public and Private
keys can be used to decode one another (no
matter which is used to encode in the first place).
• But why would someone code a message with
their private key. Anyone in the world could use
their public key to decode it…
Digital Signatures I
• Well, what would the receiver know about the
sender of a message if Bob Smith’s public key
can decode the message?
• Whoever sent the message had Bob Smith’s
private key… (So, it was probably Bob Smith.)
• We’re no longer keeping the contents of a
message secret. Now we have found a way to
verify who was the sender of a message.
• Also, we know that nobody but Bob Smith
modified the contents of the message along the
way. (So, it’s intact and how Bob last saw it.)
Digital Signatures II
Using Public-Key Crypto for Strong Authentication
• Switch the roles of the keys
• Encrypt with Private key ("signing")
• Decrypt with Public key ("verifying" )

• Anyone (B) can read the message,
• But only A could have generated it
Digital Signatures III
• But there’s a problem… The Encoding/Decoding
step for public/private key cryptography is really
slow.
• For secret agents and governments and people
who really care about the secrecy of their
message, this isn’t a big deal.
• But for a lot of people who’d just like a digital
signature, this slowness almost makes it not
worthwhile to use the technology.
Digital Signatures IV
• What if we only encrypt a part of the message?
But then someone could go in and change the
non-signed part, and we’d never know if Bob
Smith really did that.
• What if there was some good way to calculate
some compressed or smaller form of the text and
then encrypt/sign that?
• But the smaller piece of text (or “digest”) would
have to reflect the whole text in some way or else
we have the same forgery problem as above.
There are ways to do this…
Digital Signatures V
• Remember our original digital signature picture?
Digital Signatures VI
Signature Generation:

Signature Verification:
A Digitally Signed Message (PGP)
-----BEGIN PGP SIGNED MESSAGE----Dear Alice: I'm getting very tired of cryptographers talking
about us behind our back. Why can't they keep their
nosesin their own affairs?!
Really, it's enough to make me paranoid.
Sincerely,
Bob
-----BEGIN PGP SIGNATURE----Version: 2.6.2
iQB1AwUBL4XFS2F2HFbSU7RpAQEqsQMAvo3mETurtUnLBL
zCj9/U8oOQg/T7iQcJvzMedbCfdR6ah8sErMV+3VRid64o2h2
XwlKAWpfVcC+2v5pba+BPvd86KIP1xRFIe3ipmDnMaYP+iV
bxxBPVELundZZw7IRE=Xvrc
-----END PGP SIGNATURE-----
But we’ve made an assumption here…
• We’ve assumed that there’s an easy and accurate
way to look up the public key for someone.
• What if some imposter just makes a web page,
claims to be Bob Smith, and publishes a public
key that is supposedly for Bob Smith (but it’s
really for them).
• Now this imposter could send us e-mails, sign
them as Bob Smith, and we might now know the
difference.
Verify a Public Key…
• How can we know that the public key we look up
for someone really is the correct public key for
that person. (And not just some key put up by an
imposter who’s pretending to be Bob Smith.)
• Well, there’s companies that make a big business
out of this. They keep secure registries of
listings of actual people and corporations and
store a copy of their official public key.
• You can go to this trusted company and know
you’re getting the right public key for Bob Smith.
A lot of business for one company…
• But there could be millions of times a day that
people need to check digital signatures. This
could just overwhelm some company.
• So, the one company can also verify that a
second company is also a trustworthy place to
ask about people’s public keys.
• So, now future requests for verification of public
keys can go to these sub-companies.
Chain of Trust I
• There’s a “Chain of Trust.” Start with a ‘root’ and
grow the trust tree/chain until we find a company
that is willing to verify Bob Smith’s public key.
VeriSign
Microsoft
MSN
Bob Smith
Chain of Trust II
• There’s a “Chain of Trust.” Start with a ‘root’ and
grow the trust tree/chain until we find a company
that is willing to verify Bob Smith’s public key.
VeriSign
Microsoft

Sheila Roy
MSN
Bob Smith
That slowness problem…
• So, we’ve seen:
• Symmetric Cryptography – Fast.
• Asymmetric (or Public Key) Cryptography – Slow.
• Digital Signatures (which use Private/Public Keys)
—Chains of Trust of public key verification.

• We also saw how to deal with the slowness issue
for digital signatures. (Using a “digest.”)
• Is there any way we can compensate for
slowness in the general message encoding task?
• Can we get the speed of symmetric cryptography?
• With the convenience of public key cryptography?
What’s the problem with each?
• Asymmetric is slower than symmetric.
• Symmetric is hard to use because you need a
secret/secure way to agree on your shared key.
• What if we use the slow asymmetric cryptography
to send a very short message:
We send the secret shared key for symmetric.
• Then we use symmetric crypto from then on.
“Secure Socket Layer” Coding.
Secure Socket Layer
• Used by most websites for secure connections
and for financial transactions to keep info safe.
• Encrypts the info you send to the site and the
info it sends to you. It also authenticates that the
site you are connected to is really who you think
it is.
• You can tell that this is being used when you see
the little yellow padlock icon in Internet Explorer.
• SSL uses Symmetric crypto, Asymmetric crypto,
and Digital Signatures.
How does SSL Work? (1)
• Go to a website for a financial transaction.
• It sends you a ‘certificate’ claiming to be some
organization and claiming to have some public
key.
• Your browser uses a chain of trust until it finds a
site you trust to will “vouch” for the accuracy of
the certificate the website sent you.
• Now, you know that the Amazon.com site you are
looking at is really authentic. You also know the
public key for Amazon; so, you can send it stuff.
How does SSL Work? (2)
• Now you can send stuff to Amazon securely
using asymmetric public/private key
cryptography. But this is a bit slow.
• What do you send them? SHARED SECRET KEY.
• If you both have this shared secret key, you can
now use symmetric cryptography to do the rest
of the transaction and send info in both
directions. Symmetric crypto is a lot faster than
asymmetric.
Look at a web page with a certificate…
• Check out www.citizensbank.com.
• Go to the Personal Banking Log-in Page.
• File: Properties: Certificates.
• This webpage is digitally signed by the bank so
that you know it is the official bank web page and
not some kind of imposter.
• In this case, a ‘root’ has directly verified the
bank’s public key.
Key length and security in real use
• How could we break each part of this?
• Factoring is the method to break public/private
keys; to break a 1024-bit private key, one would
need to factor an integer of length 1024 bits (or
over 300 decimal digits), which is well beyond
what anybody has done to date (currently people
can factor numbers of about 130 digits with lots
of computing power and time ….)
(from RSA Security)
Key length and security in real use II
But one can also attack encryption by trying to break the
symmetric key…. Here, there’s no math trick to break it.
You just try all the possible keys.
But adding just one bit to the length of a symmetric key
doubles the number of possible keys and the amount of
time that is needed to find the right one.
For example, the number of possible keys in a 56-bit
encrypted message is about 72 quadrillion keys, or
72,057,594,037,927,936.
Symmetric keys typically have lengths between 40 and 128
bits. Public keys typically have lengths between 512 and
2048 bits. Both the symmetric and public keys need to be
long enough to withstand an attack.
(from RSA Security)
So We’ve Seen…
• Symmetric Crypto – Fast, but hard to share secret
• Asymmetric Crypto – Slow but easier to set up
• Digital Signatures –
Uses Asymmetric, Digests, Chains of Trust
• Secure Socket Layer – Uses all three of the above
techniques to allow people to authenticate the
sender of a web page and conduct secure
business with it without having to use a lot of
slow asymmetric cryptography.

More Related Content

PDF
I Did Not Write This Document And Can Prove It!
PPT
Whatisdigitalsignature
ODP
Passwords
ODP
SSL certificates
PDF
Network security notes
PDF
CGI White Paper - Key Incryption Mechanism
DOCX
Cryptography and security
PDF
Using PGP for securing the e-mail
I Did Not Write This Document And Can Prove It!
Whatisdigitalsignature
Passwords
SSL certificates
Network security notes
CGI White Paper - Key Incryption Mechanism
Cryptography and security
Using PGP for securing the e-mail

What's hot (15)

PDF
cryptography
PDF
The ultimate privacy guide
PDF
OSDC 2014: Michael Renner - Secure encryption in a wiretapped future
PDF
Introduction PGP-GPG Subkey Management
PDF
CAN BLOCKCHAIN PRIVATE KEY BE HACKED?
PPT
Information Security
PPTX
Some Thoughts On Bitcoin
PDF
How encryption works
PPTX
Keynote - Closing the TLS Authentication Gap
PPTX
Cryptography
PDF
Cryptography Unchained - BeeBryte (White Paper)
PDF
Analysis of Cryptography Techniques
DOCX
Cyber public key cryptography
PPTX
Basic concept of pki
PPT
Cryptography
cryptography
The ultimate privacy guide
OSDC 2014: Michael Renner - Secure encryption in a wiretapped future
Introduction PGP-GPG Subkey Management
CAN BLOCKCHAIN PRIVATE KEY BE HACKED?
Information Security
Some Thoughts On Bitcoin
How encryption works
Keynote - Closing the TLS Authentication Gap
Cryptography
Cryptography Unchained - BeeBryte (White Paper)
Analysis of Cryptography Techniques
Cyber public key cryptography
Basic concept of pki
Cryptography
Ad

Viewers also liked (20)

PDF
Kisi kisi-ujian-nasional-2016-smk 2
PPTX
Tugas terstruktur kkpi (sejarah jaringan komputer)
DOCX
6 materi analisis buku kur'13 edit syahril 290914
DOC
Silabus sistem komputer smt 1
PDF
Struktur kurikulum-tkj
DOC
Kurikulum tkj tahun 2016/2017 smk pgri enrekang
PPTX
MAPEL SISTEM KOMPUTER KELAS X
DOC
Silabus SISTEM KOMPUTER SMK X
PPTX
MATERI SISTEM KOMPUTER KELAS X
DOC
Rahadi - TIK C1 X TKJ Silabus Sistem Komputer Genap
DOCX
RPP KD 3.8/4.8 Sistem Komputer X TKJ SMK
DOCX
RPP KD 3.9/4.9 Sistem Komputer X TKJ SMK
PPT
Menghitung Jam Produktif Kejuruan SMK
PDF
Materi Sistem Komputer Kelas X Semester 1
DOCX
Perhitungan Alokasi Waktu
DOCX
FORMAT PERUBAHAN RPP KURIKULUM 2013
PPT
Struktur kurikulum smk dan perhitungan jam produktif
DOC
Pemetaan sk, kd adiwiyata 2013
PPTX
Penilaian ketrampilan Kurikulum 2013 edisi Revisi 2016
PPTX
SKL-KI-KD Kurikulum 2013
Kisi kisi-ujian-nasional-2016-smk 2
Tugas terstruktur kkpi (sejarah jaringan komputer)
6 materi analisis buku kur'13 edit syahril 290914
Silabus sistem komputer smt 1
Struktur kurikulum-tkj
Kurikulum tkj tahun 2016/2017 smk pgri enrekang
MAPEL SISTEM KOMPUTER KELAS X
Silabus SISTEM KOMPUTER SMK X
MATERI SISTEM KOMPUTER KELAS X
Rahadi - TIK C1 X TKJ Silabus Sistem Komputer Genap
RPP KD 3.8/4.8 Sistem Komputer X TKJ SMK
RPP KD 3.9/4.9 Sistem Komputer X TKJ SMK
Menghitung Jam Produktif Kejuruan SMK
Materi Sistem Komputer Kelas X Semester 1
Perhitungan Alokasi Waktu
FORMAT PERUBAHAN RPP KURIKULUM 2013
Struktur kurikulum smk dan perhitungan jam produktif
Pemetaan sk, kd adiwiyata 2013
Penilaian ketrampilan Kurikulum 2013 edisi Revisi 2016
SKL-KI-KD Kurikulum 2013
Ad

Similar to enkripsi and authentication (20)

PPT
Security everywhere digital signature and digital fingerprint v1 (personal)
PDF
[POSS 2019] TLS for Dummies
PDF
#OSSPARIS19 - TLS for dummies - MAXIME BESSON, Worteks
PDF
Cryptointro
PDF
Cgi whpr 35_pki_e
PDF
Public private key
PPTX
Defcon Crypto Village - OPSEC Concerns in Using Crypto
PPT
Encryption for Everyone
PPTX
Dissemination of knowledge on Secure Systems Engineering
PPTX
lesson
PDF
Blockchain meetup
PPTX
Security pre
PPT
Dmk bo2 k8_ccc
PPT
Cryptography
PPT
Cryptography
PDF
PDF
Amazon
PDF
Amazon
PDF
Amazon
PDF
Amazon
Security everywhere digital signature and digital fingerprint v1 (personal)
[POSS 2019] TLS for Dummies
#OSSPARIS19 - TLS for dummies - MAXIME BESSON, Worteks
Cryptointro
Cgi whpr 35_pki_e
Public private key
Defcon Crypto Village - OPSEC Concerns in Using Crypto
Encryption for Everyone
Dissemination of knowledge on Secure Systems Engineering
lesson
Blockchain meetup
Security pre
Dmk bo2 k8_ccc
Cryptography
Cryptography
Amazon
Amazon
Amazon
Amazon

More from ahmad amiruddin (16)

PPT
firewall
PPT
security
PPT
introduction to security
PPT
application layer
PPT
transport layer protocol
PPT
protokol routing
PPT
PPT
penerapan ip address subnet
PPT
manajemen ip
PPT
ip address and subnet address
PPT
internet layer protokol
PPT
data link layer
PPT
referensi osi
PPT
konsep dasar jaringan komputer
PPT
membuat desain sistem keamanan jaringan
PPT
mengadministrasi server dalam jaringan
firewall
security
introduction to security
application layer
transport layer protocol
protokol routing
penerapan ip address subnet
manajemen ip
ip address and subnet address
internet layer protokol
data link layer
referensi osi
konsep dasar jaringan komputer
membuat desain sistem keamanan jaringan
mengadministrasi server dalam jaringan

Recently uploaded (20)

PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Architecture types and enterprise applications.pdf
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
The various Industrial Revolutions .pptx
PDF
STKI Israel Market Study 2025 version august
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Configure Apache Mutual Authentication
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Modernising the Digital Integration Hub
Custom Battery Pack Design Considerations for Performance and Safety
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Getting started with AI Agents and Multi-Agent Systems
A comparative study of natural language inference in Swahili using monolingua...
Architecture types and enterprise applications.pdf
Abstractive summarization using multilingual text-to-text transfer transforme...
The influence of sentiment analysis in enhancing early warning system model f...
A contest of sentiment analysis: k-nearest neighbor versus neural network
The various Industrial Revolutions .pptx
STKI Israel Market Study 2025 version august
A review of recent deep learning applications in wood surface defect identifi...
Final SEM Unit 1 for mit wpu at pune .pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Developing a website for English-speaking practice to English as a foreign la...
2018-HIPAA-Renewal-Training for executives
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Configure Apache Mutual Authentication
Consumable AI The What, Why & How for Small Teams.pdf
OpenACC and Open Hackathons Monthly Highlights July 2025
Modernising the Digital Integration Hub

enkripsi and authentication

  • 1. Pertemuan-13 Enkripsi and Authentication Jaringan Komputer Teknik Informatika Universitas Yudharta Pasuruan 2012 MOCHAMAD SIRODJUDIN, S.Kom, MM www.sirodjudin.com
  • 2. Symmetric-key Cryptography • Data encrypted and decrypted with same key • Classical examples: Caesar cipher, one-time pad, Enigma Machine
  • 3. Symmetric-key Cryptography: Drawbacks • How do the parties get the shared, secret key? • How do we transmit this or establish it securely? • Must have some secret or ‘offline’ way of sending the secret. • This is really hard to do in some situations… • You could read it to them over the phone, but someone could be tapping your phone in addition to your internet connection. • How can we both get the shared secret?
  • 4. Public Key Cryptography Each user has a keypair, consisting of a public and private key • Anything encrypted with one key may only be decrypted by the other. • To make message readable only by B, encrypt message using B's public key
  • 5. Where we are now… • We can send coded messages without having to establish any shared secret keys between us ahead of time. • There’s another exciting application of this technology from the fact that Public and Private keys can be used to decode one another (no matter which is used to encode in the first place). • But why would someone code a message with their private key. Anyone in the world could use their public key to decode it…
  • 6. Digital Signatures I • Well, what would the receiver know about the sender of a message if Bob Smith’s public key can decode the message? • Whoever sent the message had Bob Smith’s private key… (So, it was probably Bob Smith.) • We’re no longer keeping the contents of a message secret. Now we have found a way to verify who was the sender of a message. • Also, we know that nobody but Bob Smith modified the contents of the message along the way. (So, it’s intact and how Bob last saw it.)
  • 7. Digital Signatures II Using Public-Key Crypto for Strong Authentication • Switch the roles of the keys • Encrypt with Private key ("signing") • Decrypt with Public key ("verifying" ) • Anyone (B) can read the message, • But only A could have generated it
  • 8. Digital Signatures III • But there’s a problem… The Encoding/Decoding step for public/private key cryptography is really slow. • For secret agents and governments and people who really care about the secrecy of their message, this isn’t a big deal. • But for a lot of people who’d just like a digital signature, this slowness almost makes it not worthwhile to use the technology.
  • 9. Digital Signatures IV • What if we only encrypt a part of the message? But then someone could go in and change the non-signed part, and we’d never know if Bob Smith really did that. • What if there was some good way to calculate some compressed or smaller form of the text and then encrypt/sign that? • But the smaller piece of text (or “digest”) would have to reflect the whole text in some way or else we have the same forgery problem as above. There are ways to do this…
  • 10. Digital Signatures V • Remember our original digital signature picture?
  • 11. Digital Signatures VI Signature Generation: Signature Verification:
  • 12. A Digitally Signed Message (PGP) -----BEGIN PGP SIGNED MESSAGE----Dear Alice: I'm getting very tired of cryptographers talking about us behind our back. Why can't they keep their nosesin their own affairs?! Really, it's enough to make me paranoid. Sincerely, Bob -----BEGIN PGP SIGNATURE----Version: 2.6.2 iQB1AwUBL4XFS2F2HFbSU7RpAQEqsQMAvo3mETurtUnLBL zCj9/U8oOQg/T7iQcJvzMedbCfdR6ah8sErMV+3VRid64o2h2 XwlKAWpfVcC+2v5pba+BPvd86KIP1xRFIe3ipmDnMaYP+iV bxxBPVELundZZw7IRE=Xvrc -----END PGP SIGNATURE-----
  • 13. But we’ve made an assumption here… • We’ve assumed that there’s an easy and accurate way to look up the public key for someone. • What if some imposter just makes a web page, claims to be Bob Smith, and publishes a public key that is supposedly for Bob Smith (but it’s really for them). • Now this imposter could send us e-mails, sign them as Bob Smith, and we might now know the difference.
  • 14. Verify a Public Key… • How can we know that the public key we look up for someone really is the correct public key for that person. (And not just some key put up by an imposter who’s pretending to be Bob Smith.) • Well, there’s companies that make a big business out of this. They keep secure registries of listings of actual people and corporations and store a copy of their official public key. • You can go to this trusted company and know you’re getting the right public key for Bob Smith.
  • 15. A lot of business for one company… • But there could be millions of times a day that people need to check digital signatures. This could just overwhelm some company. • So, the one company can also verify that a second company is also a trustworthy place to ask about people’s public keys. • So, now future requests for verification of public keys can go to these sub-companies.
  • 16. Chain of Trust I • There’s a “Chain of Trust.” Start with a ‘root’ and grow the trust tree/chain until we find a company that is willing to verify Bob Smith’s public key. VeriSign Microsoft MSN Bob Smith
  • 17. Chain of Trust II • There’s a “Chain of Trust.” Start with a ‘root’ and grow the trust tree/chain until we find a company that is willing to verify Bob Smith’s public key. VeriSign Microsoft Sheila Roy MSN Bob Smith
  • 18. That slowness problem… • So, we’ve seen: • Symmetric Cryptography – Fast. • Asymmetric (or Public Key) Cryptography – Slow. • Digital Signatures (which use Private/Public Keys) —Chains of Trust of public key verification. • We also saw how to deal with the slowness issue for digital signatures. (Using a “digest.”) • Is there any way we can compensate for slowness in the general message encoding task? • Can we get the speed of symmetric cryptography? • With the convenience of public key cryptography?
  • 19. What’s the problem with each? • Asymmetric is slower than symmetric. • Symmetric is hard to use because you need a secret/secure way to agree on your shared key. • What if we use the slow asymmetric cryptography to send a very short message: We send the secret shared key for symmetric. • Then we use symmetric crypto from then on. “Secure Socket Layer” Coding.
  • 20. Secure Socket Layer • Used by most websites for secure connections and for financial transactions to keep info safe. • Encrypts the info you send to the site and the info it sends to you. It also authenticates that the site you are connected to is really who you think it is. • You can tell that this is being used when you see the little yellow padlock icon in Internet Explorer. • SSL uses Symmetric crypto, Asymmetric crypto, and Digital Signatures.
  • 21. How does SSL Work? (1) • Go to a website for a financial transaction. • It sends you a ‘certificate’ claiming to be some organization and claiming to have some public key. • Your browser uses a chain of trust until it finds a site you trust to will “vouch” for the accuracy of the certificate the website sent you. • Now, you know that the Amazon.com site you are looking at is really authentic. You also know the public key for Amazon; so, you can send it stuff.
  • 22. How does SSL Work? (2) • Now you can send stuff to Amazon securely using asymmetric public/private key cryptography. But this is a bit slow. • What do you send them? SHARED SECRET KEY. • If you both have this shared secret key, you can now use symmetric cryptography to do the rest of the transaction and send info in both directions. Symmetric crypto is a lot faster than asymmetric.
  • 23. Look at a web page with a certificate… • Check out www.citizensbank.com. • Go to the Personal Banking Log-in Page. • File: Properties: Certificates. • This webpage is digitally signed by the bank so that you know it is the official bank web page and not some kind of imposter. • In this case, a ‘root’ has directly verified the bank’s public key.
  • 24. Key length and security in real use • How could we break each part of this? • Factoring is the method to break public/private keys; to break a 1024-bit private key, one would need to factor an integer of length 1024 bits (or over 300 decimal digits), which is well beyond what anybody has done to date (currently people can factor numbers of about 130 digits with lots of computing power and time ….) (from RSA Security)
  • 25. Key length and security in real use II But one can also attack encryption by trying to break the symmetric key…. Here, there’s no math trick to break it. You just try all the possible keys. But adding just one bit to the length of a symmetric key doubles the number of possible keys and the amount of time that is needed to find the right one. For example, the number of possible keys in a 56-bit encrypted message is about 72 quadrillion keys, or 72,057,594,037,927,936. Symmetric keys typically have lengths between 40 and 128 bits. Public keys typically have lengths between 512 and 2048 bits. Both the symmetric and public keys need to be long enough to withstand an attack. (from RSA Security)
  • 26. So We’ve Seen… • Symmetric Crypto – Fast, but hard to share secret • Asymmetric Crypto – Slow but easier to set up • Digital Signatures – Uses Asymmetric, Digests, Chains of Trust • Secure Socket Layer – Uses all three of the above techniques to allow people to authenticate the sender of a web page and conduct secure business with it without having to use a lot of slow asymmetric cryptography.