Questions tagged [md5]

Cryptographic hash function with a 128-bit (16-byte) hash value. MD5 is no longer considered a secure hash and should not be used to protect sensitive information like passwords

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Ruby Object Password Assignment Confusion

I'm testing an object I've defined. For some reason, assignment of a password to that property, is changing, and I don't know why: pwtemp = Gen.pw(24) # a = Carrier.new ap a a.pw = pwtemp puts ...
Rich_F's user avatar
  • 1,826
0 votes
0 answers
11 views

How do I effectively Stream large files while calculating MD5 and file size?

I have a service where I'm receiving files from a client server and then I'm supposed to upload the files to my Cloudflare directory. As far as I understand, there is 2 streams going on here. One is ...
TheStranger's user avatar
  • 1,417
0 votes
1 answer
35 views

Can a salt value passed to crypt() contain a $ symbol?

Started learning about linux security and reading some articles about MD5 password hashing. This godbolt demo uses the crypt function char *crypt(const char *key, const char *salt); and passes this ...
vengy's user avatar
  • 1,742
0 votes
1 answer
29 views

SQL equivalent of Pandas pandas.util.hash_pandas_object

I need to write the logic ti generate unique value for each row,i know i can use MD5 hash, but i have a limitation that in past we have used pandas dataframe way of generating unique value by using ...
MykG's user avatar
  • 109
0 votes
1 answer
56 views

Converting AES 256 Java Encryption in python

I have enryption code written in Java, and I am trying to write it in python, But the issue is python encryption and decryption is working fine but when trying to decrypt the java encrypted string ...
Abhishek Kumar's user avatar
0 votes
2 answers
57 views

extracting emails by removing md5 hashes from text

recovered a client sql , current situation is we need to mail the users from sql . the data format atm is : (sample) : +cashchun50988d7b7be83311934367e4548be6feb46cash5098@gmail.com ...
TCPGuard's user avatar
0 votes
2 answers
35 views

hashlib.md5 returns a weird object and indexing is also strange

So I wanted to get to know how hashlib.md5 works and produced the following code: import hashlib a = b'yolo' h = hashlib.md5(a).digest() b = h[6:10] print(h) print(b) Don't mind the fact that I ...
Ion's user avatar
  • 3
2 votes
1 answer
32 views

Boto3 SQS MD5OfMessageBody

How does a python/boto3 sqs client get the MD5OfMessageBody? Is this generated by the client or received by the server? For example: { "response": { "MD5OfMessageBody": "...
Bonn93's user avatar
  • 173
-1 votes
2 answers
99 views

How can I generate an 16-character long MD5 hash in Java?

I need to generate on Kotlin a MD5 hash for some data, but as 16-character string, not a 32-character string. I found no way for that at this point and need help. But there is definitely a method, ...
Sargius's user avatar
  • 134
0 votes
0 answers
36 views

sqlmap cut last 2 symbols of MD5 hash password. Hach the box

I have my blackbox machine, with sql injection. But when i try to see md5 hash of password, i got only 30 symbols. How can i fix it? [00:13:15] [ERROR] unable to retrieve the number of columns for ...
Oleg Shilkin's user avatar
0 votes
0 answers
22 views

How to efficiently compute checksum on core-data attribute for online verification?

I need to find a way to verify the contents of core-data entities against the online database from which the data originated. Essentially I need a fingerprint of a core-data entity or attribute that I ...
TomB's user avatar
  • 116
0 votes
0 answers
27 views

Node.js - hash alghoritms implementation

I have a question, is there any module that contains implementations of all hashing algorithms? I mainly care about MD5, SHA-256 and Whirlpool. I heard about the crypto module, but I can't find if it ...
soft1234's user avatar
0 votes
1 answer
73 views

Any .NET MD5 library (Nuget) for Blazor (WebAssembly)?

I know .NET has MD5 class. However it's not available in Blazor: I can't find any 3rd-party library maybe because it's supported in .NET so nobody makes it. Is there any alternative? (I don't need it ...
Luke Vo's user avatar
  • 18k
0 votes
0 answers
23 views

Comparing sheets across two .xlsx files in python

I am trying to compare two Excel (.xlsx) files and look to optimize my comparison. My file has around 1000 rows x 1000 columns and the time taken to compare each cell across two workbook is too long. ...
Hemant Satam's user avatar
0 votes
1 answer
39 views

Hash MD5 ( Exasol to data bricks)

We have used Hash_MD5(col1,col2) in exasol. Now we are migrating to data bricks and we want to retain all Hash id's. Problem is data brick doesnot support multiple arguments in MD5 and concat MD5(...
Shakky007's user avatar
5 votes
1 answer
176 views

md5 hash calculation function failing

I'm trying to write an md5 hash function in R without calling any C-routines. While my code executes just fine, the output never matches tools::md5sum (which does match examples provided in various ...
Carl Witthoft's user avatar
1 vote
2 answers
48 views

MD5-based password algorithm in Python

I try to call API that specifically uses MD5 hash in one of the steps. In the documentation they specifically show example reference that generates MD5 in the following way $ openssl passwd -1 -salt ...
Rostfrei's user avatar
  • 454
-3 votes
1 answer
59 views

hash the password to md5 in the database

I need your help very much! There is a ready-made authorization form. When the application is launched, a database is created, this database is filled in manually via db browser. It needs to be filled ...
Jont's user avatar
  • 1
0 votes
1 answer
100 views

How to calculate a missing md5 for a file in Azure blob storage

A couple of other discussions exist with a similar-ish issue to solve, but no solution was found in them, so I try my luck too: Files in Azure blob storage do not always have an md5 value stored in ...
Jomitt's user avatar
  • 29
0 votes
0 answers
22 views

Rails Logging In Users from Non Bcrypt Database

So I'm trying to connect my Rails app to a pre-existing database that is already full of users whose passwords were just encrypted with standard encryption and not Bcrypt. The idea is that there is ...
mystic cola's user avatar
  • 1,465
0 votes
2 answers
147 views

How to decode azure blob md5 in python: I get so near, yet not quite there

I am aware that some others have asked nearly the same question as this, but those discussions don't have exactly the same scenario, nor provide the answer that I am looking for -- so here we go: We ...
Jomitt's user avatar
  • 29
0 votes
1 answer
55 views

Why can't my program loop over a file certain amount of time?

I am working on a Python project, in which the user enters an md5 hash(of a password) and the program compares the hash with the rock-you file hash(manually converting word to md5 hash), if it found ...
shameer kashif's user avatar
0 votes
1 answer
77 views

What is wrong with this md5 implementation

What is wrong with this md5 implementation I tried all the possible thing to get it working but wrong result compared to the pseudocode given in article. Does this is because of different encoding ...
Shadab Patel's user avatar
0 votes
0 answers
25 views

Verify file integrity after downloading

I just have a quick question. I am currently working on a script which just downloads the .ipsw files from apple servers, moves them to a temp location with a random name. Now I have the part to try ...
SabriLK's user avatar
0 votes
0 answers
29 views

Issues with downgrading from SHA to MD5 - Postgresql / pgAdmin4

I have a Unity3D project that I'm attempting to hook up to a Postgresql database, my issue now is "NpgsqlException: Exception_AuthenticationMethodNotSupported" when I try to connect to my ...
GameDevDumbo's user avatar
0 votes
0 answers
51 views

Python md5 same image files with different md5

From How do I calculate the MD5 checksum of a file in Python? , I wrote a script to remove the duplicate files in the folder dst_dir with md5. However, for many files(.jpg and .mp4), the md5 was not ...
ShoutOutAndCalculate's user avatar
0 votes
0 answers
73 views

Matching MD5 from Azure to On-prem with POWERSHELL 5

(note: yes, I know it's powershell 5 and not 7. Due to our infosec policies getting this done is non-trivial, so please don't say "well just upgrade") I need to match the on-prem MD5 with ...
mbourgon's user avatar
  • 1,286
-1 votes
1 answer
56 views

php and c# coding generating different result

Both php and c# produces different key that makes it difficult for my c# to coded software to activate. I have software coded on c# and trying to generate automatic keys through PHP. Please help me ...
Aarohi Dutta's user avatar
1 vote
2 answers
1k views

Cannot find module 'contentlayer/generated' or its corresponding type declarations

I'm using NextJS 13.3 (app directory), and I'm trying to use contentlayer to serve my mdx files. tsconfig.json { "compilerOptions": { ... "baseUrl": ".&...
Ayoub k's user avatar
  • 7,808
0 votes
0 answers
313 views

Generating Two Files with the Same MD5 Hash

Hi I have two pdf files along with md5sums. now I want to do collision attack such that Only one of the two files can be modified by the attacker. In this case, it is assumed that the attacker only ...
Python's user avatar
  • 41
-1 votes
1 answer
95 views

MD5 hash of a Amazon RedShift UDF

I have a Redshift UDF such as given below. I need to check if this function is changed by checking its MD5 Hash against I guess the original hash and in that case delete and recreate this function ...
Sandy's user avatar
  • 1
0 votes
0 answers
60 views

C# HMACMD5 hash producing different result than working JS Code

I wrote a working JS script used in Postman to test out an API. It has the hash algorithm and its working fine, but I am unable to get the same hash in my C# code. I have a computed message and a ...
Rak's user avatar
  • 1
0 votes
1 answer
518 views

Generate MD5 checksum of an image in javascript (client side)

I was struggling to create a JavaScript app to generate checksums on remote images (using URLs) My program is using checksums to detect when my images on the remote server are changing (though their ...
chipmunktunic's user avatar
1 vote
1 answer
788 views

OpenSSL 3.0.8: FIPS functionality not working with libcrypto library in custom path

OpenSSL: 3.0.8 Python: 3.9.16 I enabled FIPS using below script but FIPS functionality is not working when I use custom libcrypto path but working fine if I use default path. custom path:/tmp/...
dev's user avatar
  • 13
0 votes
1 answer
462 views

Generate 128-bit md5 hash with base64 coding

I need to get a hash sum like this ODA1OTU0NDVkMzkwNTU5N2NlMmNiOTc0Nzk4ZGY2YjI= (44 symbols). How can I get it correctly? These methods did not help me. MessageDigest md = MessageDigest.getInstance(&...
Ivan B's user avatar
  • 41
0 votes
1 answer
94 views

Upgrading Postgres while migrating to AWS - SQLSTATE[08006] [7] authentication method 10 not supported

I'm in the process of moving our postgres databases to AWS. The database is currently installed on the server itself and using version 9.6. The database on AWS has been set to use 15. I've updated the ...
fractal5's user avatar
  • 2,034
0 votes
0 answers
56 views

Shorten/Compress string in Python

I am working on an application that stores pdf documents and a lot of info for the documents in JSON format. In order to avoid multiple loads of the same documents MD5 hashsum of the file is used as ...
Serg Zador's user avatar
0 votes
0 answers
82 views

"trust" issues in pg_hba.conf

I teach an undergraduate database curriculum at my local large university (LLU). We use the Google Cloud Platform and have been using Ubuntu Pro 20.04 with PostgreSQL 12, pgAdmin, and php 7.3 and ...
Steven Smith's user avatar
-2 votes
1 answer
131 views

how to get a textfield value and convert the value into md5 encryption in flutter?

My code: Center( child: SizedBox( height: height * 0.08, width: width - 35, child: TextFormField( controller: passwordController, validator: (password) { if (password ...
Sakthivel k's user avatar
0 votes
0 answers
31 views

Cannot authenticate imported user using HMAC MD5 into firebase

Firebase user authentication fails after importing. Below is how the hash was created. const hmac = crypto.createHmac("md5", salt); const buff = hmac.update(password).digest(); const ...
user2632759's user avatar
0 votes
1 answer
114 views

Any way to compare two pytorch Tensor objects in two different python programs?

I'm debugging two Python programs and both of them have a variable img (specific type is torch.Tensor), now I need to make sure if the two imgs are binary-consistent. Because they are in different ...
Mactarvish's user avatar
0 votes
0 answers
63 views

Google takeout md5 checksum

How can I get the checksum for a google takeout (photos) download. I’d like to be 100% sure that the file downloaded from takeout isn’t corrupt. Is there a way to verify the checksum for takeout?
t8keover's user avatar
0 votes
1 answer
700 views

Hash passwords in md5 with symfony 6.2

I'm currently working on a project that aims to move from a heavy Java application to a web application with Symfony. The objective is to start from an existing database and not to modify it at all. ...
Spinogl's user avatar
  • 15
2 votes
1 answer
189 views

What is difference between MD5_NUMBER_LOWER64 and MD5_NUMBER_UPPER64

From the description, I found that it Calculates the 128-bit MD5 message digest, interprets it as a signed 128-bit big endian number, and returns the upper/lower 64 bits of the number as an unsigned ...
Sachin's user avatar
  • 184
2 votes
2 answers
343 views

Calculate MD5 checksum for an image in C#

Code referenced in the StackOverflow question titled "Calclate MD5 checksum for a file" provides a simple way to get a checksum based on a file. This works, however through testing I have ...
bodylice's user avatar
0 votes
1 answer
198 views

Is there a file size limit for which Azure Blob Storage calculates and sets an MD5?

I have been working with file uploading using Azure Blob Storage for a while now. However, I have observed that for some of the blobs, the MD5 is an empty string. I can observe this both when ...
Farid Hajnal's user avatar
0 votes
1 answer
278 views

How to generate MD5 key hash for release?

This command does not generate MD5 hash. I get only SHA1 and SHA256 keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android How to generate MD5?...
christianalready's user avatar
-4 votes
0 answers
39 views

Did I make this MD5 hash encoder correctly? [duplicate]

I'm doing a coding challenge where you have to make a code that takes an input, encodes it, subtracts the last 16 characters, and repeats that process 50 times. it then says to take the truncated hash ...
TheTroglodyte's user avatar
0 votes
0 answers
58 views

python salted hashes producing unexpected results using sha1 and md5

I am trying to write a simple python script to hash a list of passwords and compare the resulting hashes against a list. I know that these 4 hashes match 4 of the listed passwords hashed with sha1 and ...
Matt's user avatar
  • 37
0 votes
0 answers
130 views

How to get the md5 checksum of files present in windows shared folder?

I'm using pysmb to connect to windows shared folder and calculate the md5 checksum of the files I'm using hashlib for this purpose. The code I have tried is as follows: conn = SMBConnection(userName, ...
Gary's user avatar
  • 31

1
2 3 4 5
81