STRING2KEY(8) System Manager's Manual STRING2KEY(8)

# [NAME](#NAME)

`string2key` — map a password into a key

# [SYNOPSIS](#SYNOPSIS)

`string2key` \[`-5` | `--version5`] \[`-4` | `--version4`] \[`-a` | `--afs`] \[`-c` `cell` | `--cell=cell`] \[`-w` `password` | `--password=password`] \[`-p` `principal` | `--principal=principal`] \[`-k` `string` | `--keytype=string`] `password`

# [DESCRIPTION](#DESCRIPTION)

`string2key` performs the string-to-key function. This is useful when you want to handle the raw key instead of the password. Supported options:

[`-5`](#5), `--version5`

Output Kerberos v5 string-to-key

[`-4`](#4), `--version4`

Output Kerberos v4 string-to-key

[`-a`](#a), `--afs`

Output AFS string-to-key

[`-c`](#c) `cell`, `--cell=cell`

AFS cell to use

[`-w`](#w) `password`, `--password=password`

Password to use

[`-p`](#p) `principal`, `--principal=principal`

Kerberos v5 principal to use

[`-k`](#k) `string`, `--keytype=string`

Keytype

[`--version`](#version)

print version

[`--help`](#help)

 

March 4, 2000 HEIMDAL

---

Document: string2key(8) from heimdal 7.8.0-r55 (Chainguard OS)
Source: https://github.com/heimdal/heimdal
