Computes the checksum for a file.
| checksum_type |
a GLib.ChecksumType |
| file |
the GLib.File to compute the digest of |
|
the checksum as a string |
| GLib.Error |
if there was an error computing the checksum |