class Array

Public Instance Methods

to_pgp_hex() click to toggle source
# File lib/pgp-word-list.rb, line 22
def to_pgp_hex
  self.map{|word| PGPWordList.word_to_hex(word)}
end
to_pgp_words() click to toggle source
# File lib/pgp-word-list.rb, line 18
def to_pgp_words
  self.each_with_index.map{|hex, i| PGPWordList.hex_to_word(hex, i)}
end