class Cryptotools::Steganography
Public Class Methods
steghide_embed()
click to toggle source
Multitool::Steganography.steghide_embed
# File lib/cryptotools.rb, line 11 def self.steghide_embed print "Which image do you want to use? (JPEG) >> " image = gets.chomp print "Which text file do you want to embed? >> " text_file = gets.chomp system("cd images; steghide embed -cf #{image} -ef #{text_file}") end
steghide_extract()
click to toggle source
Multitool::Steganography.steghide_extract
# File lib/cryptotools.rb, line 22 def self.steghide_extract print "Which image do you embed? (JRPG) >> " image = gets.chomp system("cd images; steghide extract -sf #{image}") end
steghide_install()
click to toggle source
Multitool::Steganography.steghide_install
# File lib/cryptotools.rb, line 30 def self.steghide_install system("sudo apt-get install steghide") end