Sha256: 631bbb31e25f2dee6f2420fc304b9fb0f79aa3d444b9e7b1899f24aa16562809

Contents?: true

Size: 708 Bytes

Versions: 3

Compression:

Stored size: 708 Bytes

Contents

# Crypto

## encrypt

```bash
siren crypto encrypt [--pubkey=public.jwk] WORDS...
```

Encrypt the words using the public key. The resulting output can only be decrypted using the corresponding private key.

## decrypt

```bash
siren crypto decrypt [--privkey=private.jwk] CIPHERTEXT
```

Decrypt the encrypted data using the private key. This can only decrypt data that was encrypted using the corresponding public key.

## genkeys

```bash
siren crypto genkeys [--force] [--privkey=private.jwk] [--pubkey=public.jwk]
```

Generates a pair of encryption keys. Usually, you'll want to use the already-created encryption keys. This command should only need to be used if it's necessary to replace those keys.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
altaire-siren-0.1.4 docs/docs/commands/crypto.md
altaire-siren-0.1.2 docs/docs/commands/crypto.md
altaire-siren-0.1.0 docs/docs/commands/crypto.md