(data []byte)
| 1349 | } |
| 1350 | |
| 1351 | func Hash(data []byte) string { |
| 1352 | hasher := sha256.New() |
| 1353 | hasher.Write(data) |
| 1354 | return hex.EncodeToString(hasher.Sum(nil)) |
| 1355 | } |
| 1356 | |
| 1357 | func GetLastDirectory() (string, error) { |
| 1358 | // Get the current working directory |