Why Nostr? What is Njump?
2024-09-11 09:04:21

lil on Nostr: using var sha256 = SHA256.Create(); byte[] bytes = File.ReadAllBytes("zipのパス"); ...



using var sha256 = SHA256.Create();
byte[] bytes = File.ReadAllBytes("zipのパス");
var hash = string.Join("", sha256.ComputeHash(bytes).Select(x=>x.ToString("x2")).ToArray());でハッシュ値計算してるけど大丈夫よね……?
Author Public Key
npub1pvl20r2lmemr35673kdh0rnuc9adrmvtxlwclll3nkq68md63m4qf905ju