Class: Cipher::Polybius

Inherits:
BiGrammatic show all
Defined in:
lib/cipher/polybius.rb

Overview

Polybius

Instance Attribute Summary

Attributes inherited from Substitution

#key

Instance Method Summary (collapse)

Methods inherited from BiGrammatic

#check_input, #decode

Methods inherited from Substitution

#decode, #encode

Methods inherited from SimpleCipher

#decode, #encode

Constructor Details

- (Polybius) initialize(key, type = Key::SQKey::SQ_ADFGVX)

initialize



19
20
21
# File 'lib/cipher/polybius.rb', line 19

def initialize(key, type = Key::SQKey::SQ_ADFGVX)
  super(Key::SQKey, key, type)
end