Explorar el Código

Added hash256.rs

Lorenz Bung hace 8 años
padre
commit
84800baeca
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      hw7/task1/src/hash256.rs

+ 5
- 0
hw7/task1/src/hash256.rs Ver fichero

@@ -0,0 +1,5 @@
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…
Cancelar
Guardar