scrypt.scryptenc

Undocumented in source.

Members

Aliases

uint8_t
alias uint8_t = ubyte
Undocumented in source.

Functions

scryptdec_buf
int scryptdec_buf(uint8_t* , size_t , uint8_t* , size_t* , uint8_t* , size_t , size_t , double , double )

scryptdec_buf(inbuf, inbuflen, outbuf, outlen, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Decrypt inbuflen bytes from inbuf, writing the result into outbuf and the decrypted data length to outlen. The allocated length of outbuf must be at least inbuflen.

scryptdec_file
int scryptdec_file(FILE* , FILE* , uint8_t* , size_t , size_t , double , double )

scryptdec_file(infile, outfile, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Read a stream from infile and decrypt it, writing the resulting stream to outfile.

scryptenc_buf
int scryptenc_buf(uint8_t* , size_t , uint8_t* , uint8_t* , size_t , size_t , double , double )

scryptenc_buf(inbuf, inbuflen, outbuf, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Encrypt inbuflen bytes from inbuf, writing the resulting inbuflen + 128 bytes to outbuf.

scryptenc_file
int scryptenc_file(FILE* , FILE* , uint8_t* , size_t , size_t , double , double )

scryptenc_file(infile, outfile, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Read a stream from infile and encrypt it, writing the resulting stream to outfile.

Meta