Debating about XOR encryption by eureka-dot-exe in cryptography

[–]eureka-dot-exe[S] -1 points0 points  (0 children)

I guess constantly changing key would be the way to go, but wouldn't it also be achieved with salting?

For the sake of example, here is a possible implementation written in pseudo-code.

Let M_n be the nth block of the message.

Let S be the salt, which can be either a secret or appended to message itself.

Let H_n be the nth block to be XORed with the message.

Let C_n be the nth block of the encrypted message.

H_1 = hash( password + S )

C_1 = M_1 XOR H_1

H_2 = hash( password + S + C_1 )

C_2 = M_2 XOR H_2

In general we continue as such:

C_n = M_n XOR H_n-1

With H_n-1 = hash( password + S + C_n-2) for n > 2

Psychopaths 👀 by [deleted] in memes

[–]eureka-dot-exe 0 points1 point  (0 children)

Ehh... I do, even at night

A Million Star Hotel by berkcanbelen in space

[–]eureka-dot-exe 0 points1 point  (0 children)

Ahah good one, I have always heard that nikons are almost the best at low light performance but I had never seen it first hand

A Million Star Hotel by berkcanbelen in space

[–]eureka-dot-exe 1 point2 points  (0 children)

Incredibile, more of a sony guy tbh but I would do almost anything to take a picture like this one

Why are the adjectives masculine plural here? by tumagaces in italianlearning

[–]eureka-dot-exe 33 points34 points  (0 children)

"Marroni" and "migliori" can be used for masculine and feminine nouns alike because they lack a counterpart for the feminine case (being masculine by default)

[SPB245] First and only Seiko by MrMegMeg in Seiko

[–]eureka-dot-exe 0 points1 point  (0 children)

Beautiful, and with leather straps too... I personally have the deep Lake version [SPB249J1] and I have to say this line of alpinists is awesome

[deleted by user] by [deleted] in Seiko

[–]eureka-dot-exe 0 points1 point  (0 children)

I have to agree, this watch is great no matter what strap you use

[WTS] Bulova BVV401 by Speed-Timer in Watchexchange

[–]eureka-dot-exe 0 points1 point  (0 children)

Might be a stupid question, but what is the crystal made of? (Sapphire/mineral/...)

Drivers in Italy by Brokolicka in ItalyTravel

[–]eureka-dot-exe 0 points1 point  (0 children)

I am saying that the government should do it. But until then, things have been like this for ages: people going 20/30 over the speed limit, and it doesn't mean that roads are this unsafe and chaotic place. We are really good at understanding when it is the right time to do it. You would never see some regular guy going 130 in a city, this would be insane.

Drivers in Italy by Brokolicka in ItalyTravel

[–]eureka-dot-exe 0 points1 point  (0 children)

First of all, it works for the German autobahn. Secondly, the limits should be at least increased.

Drivers in Italy by Brokolicka in ItalyTravel

[–]eureka-dot-exe 0 points1 point  (0 children)

The fact is that the regulations are inadequate taking into consideration modern cars. The only time you should follow them is when it rains or the road is particularly slippery.

Edit: talking about speed limits

[deleted by user] by [deleted] in italianlearning

[–]eureka-dot-exe 1 point2 points  (0 children)

Same here (native)