首先我找到與S-Tools相關描述是一篇國外大學(University of St. Thomas)資訊隱藏的課程大綱,中間有對S-Tools做簡單的介紹,文章提到S-Tools可以針對BMP、GIF和WAV加入資訊隱藏的技術,這套軟體使用隱藏方式是LSB,並可檢視隱藏前與隱藏後的差別,原文如下:
S-Tools is offered for Windows and can provide hiding techniques in BMP, GIF and WAV file formats. This tool seems to be quite versatile for use. The software uses the LSB method for embedding the images and audio files with added encryption as an option. The software also allows the original image and the embedded image so you can compare visually after the embedding process is completed
原文連結:http://komar.cs.stthomas.edu/qm425/02s/Spreigl2.htm
何謂LSB,LSB的全名是least-significant bits,以24-bit的RGB圖為例,RGB三色各有8-bit,假設某個pixel的值為(64,129,34),轉換成二進位是(00100000,01000001,00010010),將最後1個bit取出,改為想要隱藏的bit值,所以原圖8個pixel可以藏1個pixel,這個方法稱為LSB。原理是RGB有256色,但是人眼其實無法辨識那麼多色,所以差RGB值差1,肉眼也無法判別,即可達到隱藏的效果。除此之外,也可以取後面2-bit或3-bit,取的位元愈多,可藏的圖越大,但失真也越嚴重!
沒有留言:
張貼留言