---
name: "sexp-conv.lsh-utils"
section: "1"
platform: "linux"
package: "lsh-utils"
version: "2.0.2-1.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/sexp-conv.lsh-utils"
---

# sexp-conv.lsh-utils(1)

convert s-expression to a different encoding

## NAME

sexp\_conv - convert s-expression to a different encoding

## SYNOPSIS

**sexp\_conv** \[*options*\]

## DESCRIPTION

This manual page documents briefly the **sexp\_conv** command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.

**sexp\_conv** is a program that converts S-expressions (keys and most other objects which \`lsh' needs to store on disk)

## OPTIONS

This program follows the usual GNU command line syntax, with long options starting with two dashes (\`-'). A summary of options is included below. For a complete description, see the Info files.

- **--hash=*algorithm***

  Hash algorithm (default: sha1).

- **--once**

  Process at most one s-expression.

- **--raw-hash**

  Output the hash for the canonical representation of the object, in hexadecimal.

- **--spki-hash**

  Output an SPKI hash for the object.

- **--debug**

  Print huge amounts of debug information.

- **-q, --quiet**

  Supress all warnings and diagnostic messages.

- **--trace**

  Detailed trace.

- **-v, --verbose**

  Verbose diagnostic messages.

- **-i, --input-format=*format***

  Variant of S-expression to accept. Valid S-expression formats are: transport, canonical, advanced and international.

- **-o, --output-format=*format***

  Variant of S-expression to output. Valid S-expression formats are: transport, canonical, advanced and international.

- **-?, --help**

  Show summary of options.

- **--usage**

  Give a short usage message.

- **-v, --version**

  Show version of program.

## SEE ALSO

[**ssh-conv**(1)](/ssh-conv/1.md), [**lshc**(1)](/lshc/1.md), [**lshd**(8)](/lshd/8.md).\
 The programs are documented fully by the *sexp* section under the *Getting Started* header of the lsh info page, available via the Info system.

## AUTHOR

This manual page was written by Timshel Knoll \<timshel@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
