Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Checking integrity of files saved locally (MD5/SHA)?

Checking integrity of files saved locally (MD5/SHA)?

Put your problem here if it does not fit any of the other categories.

Checking integrity of files saved locally (MD5/SHA)?

Postby xMemphisx » Mon Oct 27, 2008 10:37 pm

Is there any way built into android to do a checksum of files that are saved locally on the phone to make sure that the files haven't been modified in any way? I was looking for something similar to an MD5 or SHA1 checksum for files. Any advice?
xMemphisx
Developer
Developer
 
Posts: 27
Joined: Wed Jun 25, 2008 12:02 am

Top

Postby MrSnowflake » Tue Oct 28, 2008 1:31 pm

That's what MessageDigest is for.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby xMemphisx » Tue Oct 28, 2008 5:09 pm

Should have dug through the API a bit more i guess. Thank you very much 8)
xMemphisx
Developer
Developer
 
Posts: 27
Joined: Wed Jun 25, 2008 12:02 am

Postby MrSnowflake » Tue Oct 28, 2008 8:24 pm

No problem, it's a default java class, though.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 16 guests