GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SCRYPT (1)

NAME

scrypt - encrypt and decrypt files.

CONTENTS

Synopsis
Description
Options
Exit Status
See Also
History

SYNOPSIS

scrypt
.Brq Cm enc | Cm dec [-M maxmem] [-m maxmemfrac] [-t maxtime] infile [outfile]

DESCRIPTION

enc encrypts infile and writes the result to outfile if specified, or the standard output otherwise. The user will be prompted to enter a passphrase (twice) to be used to generate a derived encryption key.

dec decrypts infile and writes the result to outfile if specified, or the standard output otherwise. The user will be prompted to enter the passphrase used at encryption time to generate the derived encryption key.

OPTIONS

-M maxmem Use at most maxmem bytes of RAM to compute the derived encryption key.
-m maxmemfrac
  Use at most the fraction maxmemfrac of the available RAM to compute the derived encryption key.
-t maxtime Use at most maxtime seconds of CPU time to compute the derived encryption key.

In enc, the memory and CPU time limits are enforced by picking appropriate parameters to the scrypt key derivation function. In dec, the memory and CPU time limits are enforced by exiting with an error if decrypting the file would require too much memory or CPU time.

EXIT STATUS

The scrypt utility exits 0 on success, and >0 if an error occurs.

Note that if the input encrypted file is corrupted, dec may produce output prior to determining that the input was corrupt and exiting with a non-zero status; so users should direct the output to a safe location and check the exit status of scrypt before using the decrypted data.

SEE ALSO


.Rs Stronger Key Derivation via Sequential Memory-Hard Functions
.Re

HISTORY

The scrypt utility was written in May 2009 by Colin Percival as a demonstration of the scrypt key derivation function. The scrypt key derivation function was invented in March 2009 by Colin Percival in order to allow key files from the tarsnap backup system to be passphrase protected.
Search for    or go to Top of page |  Section 1 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.