Skip to content

Tag Archives: Hash

The hash_copy() function is an inbuilt function in PHP which is used to get the copy of hashing context. Syntax: hash_copy( $context ) Parameters: This… Read More
The hash_algos() function is an inbuilt function in PHP which is used to return a list of registered hashing algorithms. Syntax: array hash_algos( void )… Read More
Given an integer . The task is to find all factors of N and print the product of four factors of N such that:   Sum of… Read More
Given two unsorted arrays arr1[] and arr2[]. They may contain duplicates. For each element in arr1[] count elements less than or equal to it in… Read More
Given two arrays arr1[] and arr2[]. The task is to find the count of such elements in the first array whose at-least one factor is… Read More
Given a String str containing only lowercase English alphabets and an integer K. The task is to check that whether the string can be converted… Read More
The SHA-2 family of cryptographic hash functions consists of six hash functions. These are: SHA-224, with 224 bit hash values SHA-256, with 256 bit hash… Read More
The SHA-2 family of cryptographic hash functions consists of six hash functions. These are: SHA-224, with 224 bit hash values SHA-256, with 256 bit hash… Read More
The SHA-2 family of cryptographic hash functions consists of six hash functions. These are: SHA-224, with 224 bit hash values SHA-256, with 256 bit hash… Read More
SHA-1 or Secure Hash Algorithm 1 is a cryptographic hash function which takes an input and produces a 160-bit (20-byte) hash value. This hash value… Read More
The MD2 is a Message-Digest Algorithm. It is a cryptographic hash function developed by Ronald Rivest in 1989. It is optimized for 8-bit computers. The… Read More
Prerequisites: Hashing Introduction and Collision handling by separate chaining  How hashing works: For insertion of a key(K) – value(V) pair into a hash map, 2… Read More
Definition: In Cryptography, SHA is cryptographic hash function which takes input as 20 Bytes and rendered the hash value in hexadecimal number, 40 digits long approx.Message… Read More
Given an array of positive integers (may contain duplicates), the task is to find the number of triplets whose product is equal to a given… Read More
Given a number N, the task is to check whether it is fascinating or not. Fascinating Number: When a number( 3 digits or more ) is… Read More

Start Your Coding Journey Now!