Reputation
1,270
Top tag
Next privilege 1,500 Rep.
Approve tag wiki edits
Badges
3 9
Newest
 Explainer
Impact
~21k people reached

Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
Remove the final 0x0. And also the final 4 41's (A's) as well, which are probbaly padding to fill out a block. The == (3d3d) are before that and are the end of the proper base64
Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
There should be more than 00's at the start from the //vV characters
Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
And hd shows what? File output says nothing
Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
Write to file using > outputfile then do hd outputfile to see hex dump
Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
The = signs at the end are not necessary so try it anyway
Apr
6
comment Decrypted RSA 64 bit encryption using modulus and private exponent. Got gobbledygook [Verify]
Did you try to bsse64 decode this to binary?
Mar
26
comment Is it secure to transmit a short plaintext with its MAC?
Glad to be able to help
Mar
26
comment Is it secure to transmit a short plaintext with its MAC?
So the nonce is authenticated as well, hopefully. Yes, for messages that fit into the domain of a block cipher this is quite a valid construction and a good reuse of primitives. In this case it's a doubling, in general, for longer messages, one would use CBC-MAC or HMAC and then the extra data is quite reasonable.
Mar
2
comment What are the steps to decrypt a TLS 1.1 record?
Yes, this is true if we have a CBC cipher (or even an AEAD cipher, which also has a nonce/IV and is supported in 1.2), not for stream ciphers, of course. 1.2 works the same way.
Feb
26
comment Hashes and Ciphers
RSA is an (public key, so assymetric) algorithm, 3DES is a symmetric algorithm. Both are not protocols, but building blocks in cipher-modes, which in turn are used in protocols, like IPSec, TLS, SSH, etc. The last use hashes as part of HMAC's (mostly) to ensure that data is not tempered with, and in key-derivation.
Feb
24
comment Using hash for one time pad key
@VincentAdvocaat this is the same as my point from the comment on the original question. Why bother with a system that one cannot encrypt arbitrary data with? OTP is not broken if plain text is known because key stream is not reused and independently random. So knowing part of it comprises nothing. Here knowing only 32 bytes kills everything.
Feb
23
comment Using hash for one time pad key
Suppose your hash is 16 bytes long (like MD5), and you need to encrypt known plaintext of 16 bytes as part of a protocol say or some file format, your system is dead after dead. Even e.g. 12 bytes is deadly as you brute force all 4 unknown plain text bytes.
Feb
22
comment Hill Cipher the point of a known plaintext attack question
@Connor Glad I could help!
Feb
22
comment Substitution-permutation network
AES is an example, one could say the most important one.
Feb
22
comment Substitution-permutation network
It's IMHO probably best understood by an example.
Feb
22
comment Substitution-permutation network
youtube.com/watch?v=mlzxpkdXP58 has a nice animation for AES as an example..
Feb
19
comment How to implement the Salsa20 hash function?
Logical shift, and yes, & is missing
Feb
17
comment Crack RSA with additional information
In most textbooks (that I assumed the problem was from) it is.
Feb
17
comment Crack RSA with additional information
You even need only one pair $e_A$ and $d_A$.
Feb
10
comment Trivium example
ecrypt.eu.org/stream/p3ciphers/trivium/trivium_p3.pdf, paragraph 2.1 specifies the output bytes, which are the $z_i$.The $t_i$ are then updated, and used as feedback bits. But the output is produced before the feedback bits. I don't have access to your book.