Cryptography Flashcards
What is the standard required for handling credit card information?
PCI DSS (Payment Card Industry Data Security Standard)
What do you call the encrypted plaintext?
Ciphertext
What do you call the process that returns the plaintext?
Decryption
RSA math: n is what?
the product of p and q (p * q)
RSA Math: p and q?
Large primenumbers (300 digits)
RSA math: Public key is?
n and e (n,e)
RSA math: Private key is?
n and d (n,d)
RSA math: Representation of plaintext message?
m
RSA math: Representation of the encrypted messsage?
c
RSA math: ϕ(n) = ?
n - p - q + 1
[Forklar] Diffie-Helman Key Exchange
Person A og B har adgang til et fællesmateriale (p og g, hvorom der gælder: p skal være et primtal, og der skal gælde at 0 < g < p)
Person A og B vælger hver deres secret key (a & b), som skal være en integer.
A = g^a mod p
B = g^b mod p
Person A sender A
Person B sender B
Key eller secret kan nu kommes frem til:
key = B^a mod p
key = A^b mod p
Diffie-Helman math: Formel for the secret key?
A^b mod p = secret
[Forklar] Hvad er cryptography?
It is the science of securing communication and data using codes and ciphers.
[Forklar] Hvad er cryptanalysis
It is the study of methods to break or bypass cryptographic security systems without knowing the key.
[Forklar] Hvad er Brute-Force Attack
It is an attack method that involves trying every possible key or password to decrypt a message
[Forklar] Dictionary Attack
It is an attack method where the attacker tries dictionary words or combinations of them
[ABB] Hvad står SHA for?
Secure Hashing Algorithm
[ABB] Hvad står MD-5 for?
Message-Digest Algorithm 5
[CMD] How do you show NUMBER LINE in a text file?
sed -n ‘NUMBERp’ <file.txt></file.txt>
[CMD] Anvend Hashcat på et hash som er $2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG
og crack den.
Hashcat.net -> 2a (bcrypt -> hash code 3200)
hashcat -m 3200 -a 0 hashfile wordlist
[Eksemplificer!] Kom med eksempler på to hjemmesider man kan bruge til at cracke hashes med
Crackstation.com & hashes.com
[Tools] Nævn nogle tools indenfor cracking!
HASHCAT og HASHid