class Analyzers::VigenereXor::StaticKeylength

Public Class Methods

new(keylength) click to toggle source
# File lib/crypto-toolbox/analyzers/vigenere_xor.rb, line 79
def initialize(keylength)
  @keylength = keylength
end

Public Instance Methods

keylen_for(dummy) click to toggle source
# File lib/crypto-toolbox/analyzers/vigenere_xor.rb, line 82
def keylen_for(dummy)
  [@keylength]
end