go

command
v1.3.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

A command-line utility for testing AEAD-primitives. It requires 5 arguments:

keyset-file:  name of the file with the keyset to be used for encryption
operation: the actual AEAD-operation, i.e. "encrypt" or "decrypt"
input-file:  name of the file with input (plaintext for encryption, or
             or ciphertext for decryption)
associated-data-file:  name of the file containing associated data
output-file:  name of the file for the resulting output

A command-line utility for testing DAEAD-primitives. It requires 5 arguments:

keyset-file:  name of the file with the keyset to be used
              for encrypting/decrypting
operation: the actual DeterminisiticAead-operation, i.e.
           "encryptdeterministically" or "decryptdeterministically"
input-file:  name of the file that contains plaintext to be encrypted or the
             encrypted text to be decrypted
additionaldata-file: name of the file that contains
                     additional-data used for encryption/decryption
output-file:  name of the output file for the resulting encryptedtext

A command-line utility for testing HybridDecrypt-primitives. It requires 4 arguments:

keyset-file:  name of the file with the keyset to be used for decrypting
encrypted-file:  name of the file that contains ciphertext to be decrypted
contextinfo-file: name of the file that contains contextinfo used for decryption
output-file:  name of the output file for the resulting plaintext

A command-line utility for testing HybridEncrypt-primitives. It requires 4 arguments:

keyset-file:  name of the file with the keyset to be used for encrypting
plaintext-file:  name of the file that contains plaintext to be encrypted
contextinfo-file: name of the file that contains contextinfo used for encryption
output-file:  name of the output file for the resulting encryptedtext

A command-line utility for testing Mac-primitives. It requires 4 for MAC computation and 5 for MAC verification:

keyset-file:  name of the file with the keyset to be used for MAC
operation: the actual MAC-operation, i.e. "compute" or "verify"
data-file:  name of the file with data for MAC computation/verification
mac-file:  name of the file for MAC value (when computing the MAC),
           or with MAC value (when verifying the MAC)
result-file: name of the file for MAC verification result (valid/invalid)
             (only for MAC verification operation)

A command-line utility for testing PublicKeySign-primitives. It requires 3 arguments:

keyset-file:  name of the file with the keyset to be used for signing
message-file:  name of the file that contains message to be signed
output-file:  name of the output file for the resulting plaintext

A command-line utility for testing PublicKeyVerify-primitives. It requires 4 arguments:

keyset-file:  name of the file with the keyset to be used for verification
signature-file:  name of the file that contains the signature
message-file:  name of the file that contains message that was signed
output-file:  name of the output file for the verification result
              (valid/invalid)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL