Sha256: 425a286c5700d05bef9b6062ad898c84610f697751ba16b0426bfd12094c5dd7
Contents?: true
Size: 285 Bytes
Versions: 1
Compression:
Stored size: 285 Bytes
Contents
require 'active_support' class SolitaireCipher def initialize(key_stream) raise ArgumentError.new("invalid argument 1, which should be a key stream") if key_stream.blank? @key_stream = key_stream end def encode(plain_text_string) "GLNCQ MJAFF FVOMB JIYCB" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mathie-solitaire_cipher-1.0.0 | lib/solitaire_cipher.rb |