java中的隐写术 [英] steganography in java

查看:135
本文介绍了java中的隐写术的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试加密gif图片中的消息。

有没有算法呢?

我能够创建新图像,甚至我检索图像的byte []。

我想知道如何添加消息在那个字节[]。

我们知道需要在LSB添加消息以保留

原始图像。我不知道如何在LSB添加。 />

当我在网上冲浪时,我看到了
http://www.dreamincode.net/forums/showtopic27950.htm

因为我无法获得Bit_Conversion和Encode_text。部分..

任何人都可以尽快帮助我..

提前致谢


-Thanks&此致,

Hamsa

Hi All,
I''m trying to encrypt the message in the gif image.
is there any algorithm for that to do?
I''m able to get create new image ,and even i retrieved the byte[] of the image.
I want to know how to add the "message" in that byte[].
As we know that messages needed to added at LSB inorder to retaining the
original image.I dont know how to add at LSB.

When i was surfing thro google i came across the contents at
http://www.dreamincode.net/forums/showtopic27950.htm
In that i couldnt get "Bit_Conversion" and "Encode_text" part..
can anyone pl help me ASAP..
Thanks in Advance

-Thanks & Regards,
Hamsa

推荐答案


大家好,

我正在尝试加密gif图像中的消息。

有没有算法可以做什么?

我能够创建新图像,甚至我检索了图像的byte []。

我想知道如何添加消息在那个字节[]。

我们知道需要在LSB添加消息以保留

原始图像。我不知道如何在LSB添加。 />

当我在网上冲浪时,我看到了
http://www.dreamincode.net/forums/showtopic27950.htm

因为我无法获得Bit_Conversion和Encode_text。部分..

任何人都可以尽快帮助我..

提前致谢


-Thanks&此致,

Hamsa
Hi All,
I''m trying to encrypt the message in the gif image.
is there any algorithm for that to do?
I''m able to get create new image ,and even i retrieved the byte[] of the image.
I want to know how to add the "message" in that byte[].
As we know that messages needed to added at LSB inorder to retaining the
original image.I dont know how to add at LSB.

When i was surfing thro google i came across the contents at
http://www.dreamincode.net/forums/showtopic27950.htm
In that i couldnt get "Bit_Conversion" and "Encode_text" part..
can anyone pl help me ASAP..
Thanks in Advance

-Thanks & Regards,
Hamsa



也许
可以帮助你....


Sukatoa ......

Maybe this
could help you....

Sukatoa...



也许
可以帮助你....


Sukatoa ...
Maybe this
could help you....

Sukatoa...



谢谢你Sukatoa ......我对此非常陌生......我需要一些LSB转换的地下室..你可以帮帮我吗?


-Thanks&问候,

Hamsa

Thank u Sukatoa... As i''m very much new to this.. I need some basement for that LSB Conversion.. Could u pl help me out?

-Thanks & regards,
Hamsa



谢谢你Sukatoa ......我对此非常陌生..我需要一些LSB转换的地下室..你可以帮帮我吗?


-Thanks&问候,

Hamsa
Thank u Sukatoa... As i''m very much new to this.. I need some basement for that LSB Conversion.. Could u pl help me out?

-Thanks & regards,
Hamsa



对于那些位操作:让xxxxxxxx为一个字节中的8位。设b为单个

位,为1或0.以下代码片段将xxxxxxxx的最低位改为

为b;这里是:

For those bit operations: let xxxxxxxx be the eight bits in a byte. Let b be a single
bit, either 1 or 0. The following code snippet changes the lowest bit of xxxxxxxx
to b; Here goes:

展开 | 选择 | Wrap | 行号


这篇关于java中的隐写术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆