infraruby
Joined 12 years ago
Joined 12 years ago
Ah! Wouldn't that be "attackers can replace an original ciphertext with two chosen blocks"?
> I'm surprised this is the thing you want the link for, and not "1 biased bit destroys the security of a 256 bit nonce where the other 255 bits come from secure random".
IIRC the link for that is in your hiring post!
Do you have a link explaining this?
def f(n = 16)
n
end
p f # => 16
p f(nil) # => nil require "securerandom"
module SecureRandom
F = File.open("/dev/urandom")
def self.random_bytes(n = nil)
F.read(n || 16)
end
endYes, combining methods works even better! It's far from saying that the best way is "to just talk to them".
Would you prefer Google's take on it? http://www.wired.com/2015/04/hire-like-google/
> So most "sample work" for an interview will actually be nothing like that but a short rushed version that is supposed to emulate it in some way.
Yes, that's the idea! And it works.
You're wrong: http://www.ioatwork.com/selection-methods-almost-a-century-o...
Then ask for that, and assess the plan, otherwise you're expecting Carnac the Magnificent: http://raganwald.com/2015/05/08/carnac-the-magnificent.html