Skip to content

Latest commit

 

History

History
48 lines (43 loc) · 1.13 KB

README.md

File metadata and controls

48 lines (43 loc) · 1.13 KB

geheim

Go Reference

the cipher utility

usage

$ ghm
usage: ghm [option]...
options:
  -P    progress
  -V    version
  -X    print signature hex
  -a int
        message authentication (1:HMAC) (default 1)
  -c int
        cipher (1:AES-256, 2:ChaCha20) (default 1)
  -d    decrypt
  -e int
        security level (0~20) (default 10)
  -f    overwrite
  -h int
        message digest (1:SHA3-224, 2:SHA3-256, 3:SHA3-384, 4:SHA3-512, 5:SHA-224, 6:SHA-256, 7:SHA-384, 8:SHA-512, 9:SHA-512/224, 10:SHA-512/256, 11:BLAKE2b-256, 12:BLAKE2b-384, 13:BLAKE2b-512) (default 6)
  -i path
        input path (default "/dev/stdin")
  -k int
        key derivation (1:HKDF, 2:Argon2id, 3:Scrypt) (default 2)
  -m int
        stream mode (1:CTR, 2:CFB, 3:OFB) (default 1)
  -o path
        output path (default "/dev/stdout")
  -p key
        key
  -s path
        signature path
  -v    verbose
  -x hex
        verify signature hex
  -z    archive
$ xp
usage: xp p                  # pair
       xp x <scalar> [point] # mult