DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

(Very) Basic Intro to the Scrypt Hash

4 years ago qvault.io

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Scrypt is a slow-by-design hash function or more accurately, a KDF function. Its purpose is to take some input data, and create a fingerprint of that data, but to do it very slowly. A common use-case is to take a password and create an n-bit private key, which is much longer and more secure.

By using Scrypt, we can extend that deterministically into a 256-bit key: That long 256-bit key can now be used as a private key to encrypt and decrypt data.

By using a slow hashing function like Scrypt to derive a key, we can force the attacker to waste more resources trying to break in.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com