.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-hash" "1" "" .RS .PP \fBWarning\fR .br This program is \fB\fBexperimental\fR\fR and its interface is subject to change. .RE .SH Name .LP \f(CRnix hash\fR - compute and convert cryptographic hashes .SH Synopsis .LP \f(CRnix hash\fR [\fIoption\fR\[u2026]] \fIsubcommand\fR .PP where \fIsubcommand\fR is one of the following: .IP "\(bu" 3 \fB\f(CRnix hash file\fR\fR - print cryptographic hash of a regular file .if n \ .sp -1 .if t \ .sp -0.25v .IP "\(bu" 3 \fB\f(CRnix hash path\fR\fR - print cryptographic hash of the NAR serialisation of a path .if n \ .sp -1 .if t \ .sp -0.25v .IP "\(bu" 3 \fB\f(CRnix hash to-base16\fR\fR - convert a hash to base-16 representation .if n \ .sp -1 .if t \ .sp -0.25v .IP "\(bu" 3 \fB\f(CRnix hash to-base32\fR\fR - convert a hash to base-32 representation .if n \ .sp -1 .if t \ .sp -0.25v .IP "\(bu" 3 \fB\f(CRnix hash to-base64\fR\fR - convert a hash to base-64 representation .if n \ .sp -1 .if t \ .sp -0.25v .IP "\(bu" 3 \fB\f(CRnix hash to-sri\fR\fR - convert a hash to SRI representation