Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Symmetric-key algorithm
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Types == Symmetric-key encryption can use either [[stream cipher]]s or [[block cipher]]s.<ref>{{cite book |last = Pelzl & Paar |title = Understanding Cryptography |url = https://archive.org/details/understandingcry00paar |url-access = limited |year = 2010 |publisher = Springer-Verlag |location = Berlin |page = [https://archive.org/details/understandingcry00paar/page/n44 30] |bibcode = 2010uncr.book.....P }}</ref> Stream ciphers encrypt the digits (typically [[byte]]s), or letters (in substitution ciphers) of a message one at a time. An example is [[ChaCha20]]. [[Substitution cipher]]s are well-known ciphers, but can be easily decrypted using a [[frequency table]].<ref>{{Cite book|last1=Bellare|first1=Mihir|url=https://web.cs.ucdavis.edu/~rogaway/classes/227/spring05/book/main.pdf|title=Introduction to Modern Cryptography|last2=Rogaway|first2=Phillip|year=2005|language=English}}</ref> Block ciphers take a number of bits and encrypt them in a single unit, padding the plaintext to achieve a multiple of the block size. The [[Advanced Encryption Standard]] (AES) algorithm, approved by [[NIST]] in December 2001, uses 128-bit blocks.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)