home.social

#shasum — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #shasum, aggregated by home.social.

fetched live
  1. #go #sha #ShaSum #tips #cryptography

    SHA256 sum of a message

    ```
    func sha256Sum(msg []byte) []byte {
    msgHash := sha256.New()
    _, err := msgHash.Write(msg)
    if err != nil {
    return nil
    }
    return msgHash.Sum(nil)
    }
    ```

  2. One diff is generating a checksum for the JSON file. The WinPC users use md5sum. Found on the mac that there is #shasum that does the sha256 checksum generation:

    shasum -a 256 <file name>

    That seems to work.

  3. tired: check a key fingerprint manually by cross-checking multiple digits at a time.

    wired: go #crossEyed to see flashing digits.

    #keyManagement #hash #shasum