Download or view BruteForce.frink in plain text format
/** This is a solver for the Rosetta Code problem "Parallel Brute Force"
https://rosettacode.org/wiki/Parallel_brute_force
*/
hashes = new set["1115dd800feaacefdf481f1f9070374a2a81e27880f187396db67958b207cbad",
"3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b",
"74e1bb62f8dabb8125a58852b63bdf6eaef667cb56ac7f7cdba6d7305c50a22f"]
r = new range["a", "z"]
multifor array = [r,r,r,r,r]
{
str = join["",array]
hash = messageDigest[str, "SHA-256"]
if hashes.contains[hash]
println["$str: $hash"]
}
Download or view BruteForce.frink in plain text format
This is a program written in the programming language Frink.
For more information, view the Frink
Documentation or see More Sample Frink Programs.
Alan Eliasen was born 20139 days, 6 hours, 46 minutes ago.