Git Product home page Git Product logo

deadhash-android's Introduction

DeadHash

GitHub release (latest by date) GitHub GitHub

Get it on F-Droid Get it on Google Play

DeadHash is a freeware utility to calculate file and text hashes.

Features

The following hash calculations are supported:

  • MD5
  • SHA-1
  • SHA-224
  • SHA-256
  • SHA-384
  • SHA-512
  • CRC32

About

This library is maintained by CodeDead. You can find more about us using the following links:

Copyright © 2023 CodeDead

deadhash-android's People

Contributors

codedead avatar nickoriginal avatar poussinou avatar shuvashish76 avatar snwmds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

deadhash-android's Issues

App crash

FATAL EXCEPTION: main
Process: com.codedead.deadhash, PID: 25557
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.codedead.deadhash/com.codedead.deadhash.gui.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #13: Error inflating class ImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2723)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2784)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1523)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6238)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Caused by: android.view.InflateException: Binary XML file line #11: Binary XML file line #13: Error inflating class ImageView
Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class ImageView
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f0e0001
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:201)
at android.content.res.MiuiResourcesImpl.getValue(MiuiResourcesImpl.java:95)
at android.content.res.Resources.getValue(Resources.java:1308)
at androidx.appcompat.widget.q0.f()
at androidx.appcompat.widget.q0.k()
at androidx.appcompat.widget.q0.j()
at e.a.b()
at androidx.appcompat.widget.q.g()
at androidx.appcompat.widget.r.()
at androidx.appcompat.widget.r.()
at androidx.appcompat.app.h.i()
at androidx.appcompat.app.h.r()
at androidx.appcompat.app.g.V()
at androidx.appcompat.app.g.onCreateView()
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:794)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:752)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:883)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1019)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:879)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1019)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:879)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.inflate(LayoutInflater.java:522)
at android.view.LayoutInflater.inflate(LayoutInflater.java:430)
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
at androidx.appcompat.app.g.D()
at androidx.appcompat.app.e.setContentView()
at com.codedead.deadhash.gui.MainActivity.onCreate()
at android.app.Activity.performCreate(Activity.java:6857)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2676)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2784)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1523)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6238)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

Crash when checking big size file

To Reproduce

Open DeadHash > Click on File path option > pick any big size file (in my case its ~1GB) > Calculate

Logs

FATAL EXCEPTION: main
Process: com.codedead.deadhash, PID: 9428
java.lang.OutOfMemoryError: Failed to allocate a 1055034968 byte allocation with 3325119 free bytes and 508MB until OOM, target footprint 6650239, growth limit 536870912
	at y0.c.b(Unknown Source:10)
	at y0.c.<init>(Unknown Source:10)
	at com.codedead.deadhash.gui.MainActivity.p0(Unknown Source:118)
	at com.codedead.deadhash.gui.MainActivity.d0(Unknown Source:0)
	at b1.i.onClick(Unknown Source:2)
	at android.view.View.performClick(View.java:7467)
	at com.google.android.material.button.MaterialButton.performClick(Unknown Source:3)
	at android.view.View.performClickInternal(View.java:7444)
	at android.view.View.access$3700(View.java:840)
	at android.view.View$PerformClick.run(View.java:28831)
	at android.os.Handler.handleCallback(Handler.java:978)
	at android.os.Handler.dispatchMessage(Handler.java:104)
	at android.os.Looper.loopOnce(Looper.java:238)
	at android.os.Looper.loop(Looper.java:357)
	at android.app.ActivityThread.main(ActivityThread.java:8090)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

Device info

App version: 1.7.8 (9) [F-Droid]
Android release version: 12
Android SDK version: 31
Device brand: motorola
Device model: moto g71 5G

Storage permissions are required in order to use DeadHash

After upgrading to 1.8.1 from 1.7.8, the app won't select file anymore when pressing the folder button next to the file path textbox.

Looks like commit f75274e might be the cause, it removed <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> from the AndroidManifest.xml

green for correct hash

I ask you to change the color of the button to green if the hash is correct. it visually facilitate the search. it is more conveniently
green

[SUGGESTION] F-Droid inclusion?

I'd like to include your app to F-Droid, which is a catalogue of FOSS apps and client and server software for its distribution. You can read more about F-Droid at http://f-droid.org/. As per inclusion policy, I must ask for your permission to do so.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.