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(infile, outfile, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Read a stream from infile and decrypt it, writing the resulting stream to outfile.
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(infile, outfile, passwd, passwdlen, maxmem, maxmemfrac, maxtime): Read a stream from infile and encrypt it, writing the resulting stream to outfile.