Steganographic Techniques and Application in Document Authentication: An Algorithmic Approach