Loading...
Comment
0 Like

هش (درهم برهم)

هش، یک تابع ریاضی است که داده‌های ورودی با اندازه‌های اختیاری را به داده‌های خروجی رمزگذاری شده با اندازه ثابت تبدیل می‌کند. بنابراین، صرف‌نظر از مقدار اصلی یا اندازه پرونده مورد نظر، هش منحصر به‌فرد آن همیشه اندازه ثابتی خواهد داشت. از هش‌ها نمی‌توان برای مهندسی معکوس داده‌های ورودی برای رسیدن به داده‌های خروجی استفاده کرد، زیرا توابع هش " یک سویه "هستند (مثل چرخ گوشت که نمی‌تواند گوشت چرخ شده را به استیک تبدیل کند). با این حال، اگر از چنین تابعی برای همان داده‌ها استفاده کنید، هش آن یکسان خواهد بود و بنابراین، اگر از قبل هش آن را بدانید، می‌توانید یکسان بودن آن را تایید کنید (یعنی بدون تغییر).

Hash

A hash is a mathematical function that converts an input of arbitrary length into an encrypted output of a fixed length. Thus regardless of the original amount of data or file size involved, its unique hash will always be the same size. Moreover, hashes cannot be used to "reverse-engineer" the input from the hashed output, since hash functions are "one-way" (like a meat grinder; you can't put the ground beef back into a steak). Still, if you use such a function on the same data, its hash will be identical, so you can validate that the data is the same (i.e., unaltered) if you already know its hash.

Please login into your account to leave a comment

Is that helpul for you?

0 Like