Safari - Aug 7, 2019 at 10:34 AM PDF
Safari - Aug 7, 2019 at 10:34 AM PDF
Safari - Aug 7, 2019 at 10:34 AM PDF
Cryptography
With Applications in R
Alyson Brown
Source
What is Cryptography?
Cryptography is the science of
transmitting information securely against
potential third party adversaries.
Encryption Algorithms
Signatures
Another important aspect of encryption is
the ability to sign a message. It allows you
to verify senders and avoid sending
sensitive information to the wrong users
and/or public keys.
Hashing
Youʼll notice in the sample code above, I
used a function sha256() for a variable
m_hash. Hashing is a one-way
cryptographic function that allows you to
irreversibly transform information into a
string of letters and numbers called a
hash. Hashing is different from encryption
because a hash is meant to be impossible
to decrypt, though many have tried, and
some have succeeded. When you hear
about a password or other security
breach, it is usually referring to a
cryptographic hack in which hackers have
been able to match hashes back to the
original text.
How it works:
11100010101110001010111000101011100
01010111000101011100010101110001010
11100010101110001010111000101011100
01010111000101011100010101110001010
11100010101110001010111000101011100
01010111000101011100010101110001010
11100010101110001010111000101011100
01010000101
a235810cd87df030d78e890d90c187cc0
4a09ad09b289b91bbae9d890f987e
Passwords
Bonus Content!
Rainbow tables
Blockchain
Conclusion
Now that you know all about hashing and
encryption, take a look at this short video
about how Alan Turing was able to
successfully “hack” the German Enigma
machine, and watch the movie if you
havenʼt already!