forked from adamierymenko/fenc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fenc.1
40 lines (33 loc) · 830 Bytes
/
fenc.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.Dd March 13, 2018
.Dt FENC 1
.Os
.Sh NAME
.Nm fenc
.Nd fully encrypt a file
.Sh SYNOPSIS
.Nm
.Ar e
.Ar filename|!password|+
.Op Ar plaintext ciphertext
.Nm
.Ar d
.Ar filename|!password|+
.Op Ar ciphertext plaintext
.Sh DESCRIPTION
.Nm
encrypts or decrypts a file with a password. The password is supplied
either through a file, over the command line (preceded by a !), or simply
by being entered by the user (with +). The file is encrypted with Salsa20,
including a 64 bit IV and a checksum.
.Pp
If neither input nor output are specified, the file is read from stdin and
written to stdout.
.Sh EXIT STATUS
.Ex -std
.Sh BUGS
Cryptographically secure entropy is not yet available on windows.
.Sh SEE ALSO
.Xr gpg 1 .
.Sh AUTHORS
.An Adam Ierymenko Aq Mt adam.ierymenko@gmail.com
.An pranomostro Aq Mt pranomostro@posteo.net