I001962 d06359f45c
SEA - Update sea.work to support hex (#1266)
This was would encode to hex:
```var data = "hello world";
var hash1 = await SEA.work(data, null, null, {name: "SHA-256",encode:
"hex"});
```
but this would not verify correctly:
gun.get('#').get(hash1).put(data);

This PR will first check base64 (current functionality) and if it fails now it will fall back and check hex.
2022-08-09 15:24:29 -07:00
..
2021-08-21 21:27:00 -07:00
2022-06-03 12:27:38 -07:00
2022-06-03 12:27:38 -07:00
2022-06-03 12:27:38 -07:00
2022-06-03 12:27:38 -07:00
2021-08-21 21:27:00 -07:00
2021-08-21 21:27:00 -07:00
2021-08-21 21:27:00 -07:00
2022-06-03 12:27:38 -07:00
2021-08-21 21:27:00 -07:00
2018-10-11 12:26:05 -07:00
2021-08-21 21:27:00 -07:00
2021-08-21 21:27:00 -07:00
2022-06-03 12:27:38 -07:00
2021-08-21 21:27:00 -07:00
2021-08-21 21:27:00 -07:00
2022-06-03 12:27:38 -07:00
2021-08-21 21:27:00 -07:00