Browse Source

Added hash256.rs

Lorenz Bung 8 years ago
parent
commit
84800baeca
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      hw7/task1/src/hash256.rs

+ 5
- 0
hw7/task1/src/hash256.rs View File

1
+mod hasher_sha256
2
+
3
+pub fn verify_product(base: usize, number: usize, difficulty: String) -> Option {
4
+    hasher_sha256::hash(base * number)
5
+}

Loading…
Cancel
Save