api documentation for crypto-browserify (v3.11.0)

implementation of crypto for the browser

table of contents

  1. module crypto-browserify
    1. function crypto-browserify.Cipher (cipher, password, options)
    2. function crypto-browserify.Cipher.super_ (options)
    3. function crypto-browserify.Cipheriv (cipher, key, iv, options)
    4. function crypto-browserify.Decipher (cipher, password, options)
    5. function crypto-browserify.Decipheriv (cipher, key, iv, options)
    6. function crypto-browserify.DiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)
    7. function crypto-browserify.DiffieHellmanGroup (name)
    8. function crypto-browserify.Hash (algorithm, options)
    9. function crypto-browserify.Hmac (hmac, key, options)
    10. function crypto-browserify.Sign (algorithm, options)
    11. function crypto-browserify.Verify (algorithm, options)
    12. function crypto-browserify.createCipher (cipher, password, options)
    13. function crypto-browserify.createCipheriv (cipher, key, iv, options)
    14. function crypto-browserify.createCredentials ()
    15. function crypto-browserify.createDecipher (cipher, password, options)
    16. function crypto-browserify.createDecipheriv (cipher, key, iv, options)
    17. function crypto-browserify.createDiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)
    18. function crypto-browserify.createDiffieHellmanGroup (name)
    19. function crypto-browserify.createECDH (curve)
    20. function crypto-browserify.createHash (algorithm, options)
    21. function crypto-browserify.createHmac (hmac, key, options)
    22. function crypto-browserify.createSign (algorithm, options)
    23. function crypto-browserify.createVerify (algorithm, options)
    24. function crypto-browserify.getCiphers ()
    25. function crypto-browserify.getDiffieHellman (name)
    26. function crypto-browserify.getHashes ()
    27. function crypto-browserify.listCiphers ()
    28. function crypto-browserify.pbkdf2 (password, salt, iterations, keylen, digest, callback)
    29. function crypto-browserify.pbkdf2Sync (password, salt, iterations, keylen, digest)
    30. function crypto-browserify.privateDecrypt (options, buffer)
    31. function crypto-browserify.privateEncrypt (options, buffer)
    32. function crypto-browserify.prng ()
    33. function crypto-browserify.pseudoRandomBytes ()
    34. function crypto-browserify.publicDecrypt (options, buffer)
    35. function crypto-browserify.publicEncrypt (options, buffer)
    36. function crypto-browserify.randomBytes ()
    37. function crypto-browserify.rng ()
    38. object crypto-browserify.Cipher.prototype
    39. object crypto-browserify.Cipheriv.prototype
    40. object crypto-browserify.Decipher.prototype
    41. object crypto-browserify.Decipheriv.prototype
    42. object crypto-browserify.DiffieHellmanGroup.prototype
    43. object crypto-browserify.Hash.prototype
    44. object crypto-browserify.Hmac.prototype
    45. object crypto-browserify.createDiffieHellman.prototype
    46. object crypto-browserify.createSign.prototype
    47. object crypto-browserify.createVerify.prototype
  2. module crypto-browserify.Cipher
    1. function crypto-browserify.Cipher (cipher, password, options)
    2. function crypto-browserify.Cipher.super_ (options)
  3. module crypto-browserify.Cipher.prototype
    1. function crypto-browserify.Cipher.prototype._flush (callback)
    2. function crypto-browserify.Cipher.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Cipher.prototype.final (outputEncoding)
    4. function crypto-browserify.Cipher.prototype.getAuthTag ()
    5. function crypto-browserify.Cipher.prototype.setAAD (aadbuf)
    6. function crypto-browserify.Cipher.prototype.setAuthTag (tagbuf)
    7. function crypto-browserify.Cipher.prototype.setAutoPadding (ap)
    8. function crypto-browserify.Cipher.prototype.update (data, inputEncoding, outputEncoding)
  4. module crypto-browserify.Cipher.super_
    1. function crypto-browserify.Cipher.super_ (options)
  5. module crypto-browserify.Cipheriv
    1. function crypto-browserify.Cipheriv (cipher, key, iv, options)
    2. function crypto-browserify.Cipheriv.super_ (options)
  6. module crypto-browserify.Cipheriv.prototype
    1. function crypto-browserify.Cipheriv.prototype._flush (callback)
    2. function crypto-browserify.Cipheriv.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Cipheriv.prototype.final (outputEncoding)
    4. function crypto-browserify.Cipheriv.prototype.getAuthTag ()
    5. function crypto-browserify.Cipheriv.prototype.setAAD (aadbuf)
    6. function crypto-browserify.Cipheriv.prototype.setAuthTag (tagbuf)
    7. function crypto-browserify.Cipheriv.prototype.setAutoPadding (ap)
    8. function crypto-browserify.Cipheriv.prototype.update (data, inputEncoding, outputEncoding)
  7. module crypto-browserify.Decipher
    1. function crypto-browserify.Decipher (cipher, password, options)
    2. function crypto-browserify.Decipher.super_ (options)
  8. module crypto-browserify.Decipher.prototype
    1. function crypto-browserify.Decipher.prototype._flush (callback)
    2. function crypto-browserify.Decipher.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Decipher.prototype.final (outputEncoding)
    4. function crypto-browserify.Decipher.prototype.finaltol (outputEncoding)
    5. function crypto-browserify.Decipher.prototype.getAuthTag ()
    6. function crypto-browserify.Decipher.prototype.setAAD (aadbuf)
    7. function crypto-browserify.Decipher.prototype.setAuthTag (tagbuf)
    8. function crypto-browserify.Decipher.prototype.setAutoPadding (ap)
    9. function crypto-browserify.Decipher.prototype.update (data, inputEncoding, outputEncoding)
  9. module crypto-browserify.Decipheriv
    1. function crypto-browserify.Decipheriv (cipher, key, iv, options)
    2. function crypto-browserify.Decipheriv.super_ (options)
  10. module crypto-browserify.Decipheriv.prototype
    1. function crypto-browserify.Decipheriv.prototype._flush (callback)
    2. function crypto-browserify.Decipheriv.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Decipheriv.prototype.final (outputEncoding)
    4. function crypto-browserify.Decipheriv.prototype.finaltol (outputEncoding)
    5. function crypto-browserify.Decipheriv.prototype.getAuthTag ()
    6. function crypto-browserify.Decipheriv.prototype.setAAD (aadbuf)
    7. function crypto-browserify.Decipheriv.prototype.setAuthTag (tagbuf)
    8. function crypto-browserify.Decipheriv.prototype.setAutoPadding (ap)
    9. function crypto-browserify.Decipheriv.prototype.update (data, inputEncoding, outputEncoding)
  11. module crypto-browserify.DiffieHellmanGroup
    1. function crypto-browserify.DiffieHellmanGroup (name)
  12. module crypto-browserify.DiffieHellmanGroup.prototype
    1. function crypto-browserify.DiffieHellmanGroup.prototype.computeSecret (key, inEnc, outEnc)
    2. function crypto-browserify.DiffieHellmanGroup.prototype.generateKeys (encoding)
    3. function crypto-browserify.DiffieHellmanGroup.prototype.getGenerator (encoding)
    4. function crypto-browserify.DiffieHellmanGroup.prototype.getPrime (encoding)
    5. function crypto-browserify.DiffieHellmanGroup.prototype.getPrivateKey (encoding)
    6. function crypto-browserify.DiffieHellmanGroup.prototype.getPublicKey (encoding)
  13. module crypto-browserify.Hash
    1. function crypto-browserify.Hash (algorithm, options)
    2. function crypto-browserify.Hash.super_ (options)
  14. module crypto-browserify.Hash.prototype
    1. function crypto-browserify.Hash.prototype._flush (callback)
    2. function crypto-browserify.Hash.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Hash.prototype.digest (outputEncoding)
    4. function crypto-browserify.Hash.prototype.update (data, encoding)
  15. module crypto-browserify.Hmac
    1. function crypto-browserify.Hmac (hmac, key, options)
    2. function crypto-browserify.Hmac.super_ (options)
  16. module crypto-browserify.Hmac.prototype
    1. function crypto-browserify.Hmac.prototype._flush (callback)
    2. function crypto-browserify.Hmac.prototype._transform (chunk, encoding, callback)
    3. function crypto-browserify.Hmac.prototype.digest (outputEncoding)
    4. function crypto-browserify.Hmac.prototype.update (data, encoding)
  17. module crypto-browserify.createDiffieHellman
    1. function crypto-browserify.createDiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)
  18. module crypto-browserify.createDiffieHellman.prototype
    1. function crypto-browserify.createDiffieHellman.prototype.computeSecret (key, inEnc, outEnc)
    2. function crypto-browserify.createDiffieHellman.prototype.generateKeys (encoding)
    3. function crypto-browserify.createDiffieHellman.prototype.getGenerator (encoding)
    4. function crypto-browserify.createDiffieHellman.prototype.getPrime (encoding)
    5. function crypto-browserify.createDiffieHellman.prototype.getPrivateKey (encoding)
    6. function crypto-browserify.createDiffieHellman.prototype.getPublicKey (encoding)
    7. function crypto-browserify.createDiffieHellman.prototype.setPrivateKey (key, encoding)
    8. function crypto-browserify.createDiffieHellman.prototype.setPublicKey (key, encoding)
  19. module crypto-browserify.createSign
    1. function crypto-browserify.createSign (algorithm, options)
    2. function crypto-browserify.createSign.super_ (options)
  20. module crypto-browserify.createSign.prototype
    1. function crypto-browserify.createSign.prototype._write (chunk, encoding, callback)
    2. function crypto-browserify.createSign.prototype.sign (options, encoding)
    3. function crypto-browserify.createSign.prototype.update (data, encoding)
  21. module crypto-browserify.createVerify
    1. function crypto-browserify.createVerify (algorithm, options)
    2. function crypto-browserify.createVerify.super_ (options)
  22. module crypto-browserify.createVerify.prototype
    1. function crypto-browserify.createVerify.prototype._write (chunk, encoding, callback)
    2. function crypto-browserify.createVerify.prototype.update (data, encoding)
    3. function crypto-browserify.createVerify.prototype.verify (object, signature, sigEncoding)

module crypto-browserify

function crypto-browserify.Cipher (cipher, password, options)

function crypto-browserify.Cipher.super_ (options)

function crypto-browserify.Cipheriv (cipher, key, iv, options)

function crypto-browserify.Decipher (cipher, password, options)

function crypto-browserify.Decipheriv (cipher, key, iv, options)

function crypto-browserify.DiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)

function crypto-browserify.DiffieHellmanGroup (name)

function crypto-browserify.Hash (algorithm, options)

function crypto-browserify.Hmac (hmac, key, options)

function crypto-browserify.Sign (algorithm, options)

function crypto-browserify.Verify (algorithm, options)

function crypto-browserify.createCipher (cipher, password, options)

function crypto-browserify.createCipheriv (cipher, key, iv, options)

function crypto-browserify.createCredentials ()

function crypto-browserify.createDecipher (cipher, password, options)

function crypto-browserify.createDecipheriv (cipher, key, iv, options)

function crypto-browserify.createDiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)

function crypto-browserify.createDiffieHellmanGroup (name)

function crypto-browserify.createECDH (curve)

function crypto-browserify.createHash (algorithm, options)

function crypto-browserify.createHmac (hmac, key, options)

function crypto-browserify.createSign (algorithm, options)

function crypto-browserify.createVerify (algorithm, options)

function crypto-browserify.getCiphers ()

function crypto-browserify.getDiffieHellman (name)

function crypto-browserify.getHashes ()

function crypto-browserify.listCiphers ()

function crypto-browserify.pbkdf2 (password, salt, iterations, keylen, digest, callback)

function crypto-browserify.pbkdf2Sync (password, salt, iterations, keylen, digest)

function crypto-browserify.privateDecrypt (options, buffer)

function crypto-browserify.privateEncrypt (options, buffer)

function crypto-browserify.prng ()

function crypto-browserify.pseudoRandomBytes ()

function crypto-browserify.publicDecrypt (options, buffer)

function crypto-browserify.publicEncrypt (options, buffer)

function crypto-browserify.randomBytes ()

function crypto-browserify.rng ()

module crypto-browserify.Cipher

function crypto-browserify.Cipher (cipher, password, options)

function crypto-browserify.Cipher.super_ (options)

module crypto-browserify.Cipher.prototype

function crypto-browserify.Cipher.prototype._flush (callback)

function crypto-browserify.Cipher.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Cipher.prototype.final (outputEncoding)

function crypto-browserify.Cipher.prototype.getAuthTag ()

function crypto-browserify.Cipher.prototype.setAAD (aadbuf)

function crypto-browserify.Cipher.prototype.setAuthTag (tagbuf)

function crypto-browserify.Cipher.prototype.setAutoPadding (ap)

function crypto-browserify.Cipher.prototype.update (data, inputEncoding, outputEncoding)

module crypto-browserify.Cipher.super_

function crypto-browserify.Cipher.super_ (options)

module crypto-browserify.Cipheriv

function crypto-browserify.Cipheriv (cipher, key, iv, options)

function crypto-browserify.Cipheriv.super_ (options)

module crypto-browserify.Cipheriv.prototype

function crypto-browserify.Cipheriv.prototype._flush (callback)

function crypto-browserify.Cipheriv.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Cipheriv.prototype.final (outputEncoding)

function crypto-browserify.Cipheriv.prototype.getAuthTag ()

function crypto-browserify.Cipheriv.prototype.setAAD (aadbuf)

function crypto-browserify.Cipheriv.prototype.setAuthTag (tagbuf)

function crypto-browserify.Cipheriv.prototype.setAutoPadding (ap)

function crypto-browserify.Cipheriv.prototype.update (data, inputEncoding, outputEncoding)

module crypto-browserify.Decipher

function crypto-browserify.Decipher (cipher, password, options)

function crypto-browserify.Decipher.super_ (options)

module crypto-browserify.Decipher.prototype

function crypto-browserify.Decipher.prototype._flush (callback)

function crypto-browserify.Decipher.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Decipher.prototype.final (outputEncoding)

function crypto-browserify.Decipher.prototype.finaltol (outputEncoding)

function crypto-browserify.Decipher.prototype.getAuthTag ()

function crypto-browserify.Decipher.prototype.setAAD (aadbuf)

function crypto-browserify.Decipher.prototype.setAuthTag (tagbuf)

function crypto-browserify.Decipher.prototype.setAutoPadding (ap)

function crypto-browserify.Decipher.prototype.update (data, inputEncoding, outputEncoding)

module crypto-browserify.Decipheriv

function crypto-browserify.Decipheriv (cipher, key, iv, options)

function crypto-browserify.Decipheriv.super_ (options)

module crypto-browserify.Decipheriv.prototype

function crypto-browserify.Decipheriv.prototype._flush (callback)

function crypto-browserify.Decipheriv.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Decipheriv.prototype.final (outputEncoding)

function crypto-browserify.Decipheriv.prototype.finaltol (outputEncoding)

function crypto-browserify.Decipheriv.prototype.getAuthTag ()

function crypto-browserify.Decipheriv.prototype.setAAD (aadbuf)

function crypto-browserify.Decipheriv.prototype.setAuthTag (tagbuf)

function crypto-browserify.Decipheriv.prototype.setAutoPadding (ap)

function crypto-browserify.Decipheriv.prototype.update (data, inputEncoding, outputEncoding)

module crypto-browserify.DiffieHellmanGroup

function crypto-browserify.DiffieHellmanGroup (name)

module crypto-browserify.DiffieHellmanGroup.prototype

function crypto-browserify.DiffieHellmanGroup.prototype.computeSecret (key, inEnc, outEnc)

function crypto-browserify.DiffieHellmanGroup.prototype.generateKeys (encoding)

function crypto-browserify.DiffieHellmanGroup.prototype.getGenerator (encoding)

function crypto-browserify.DiffieHellmanGroup.prototype.getPrime (encoding)

function crypto-browserify.DiffieHellmanGroup.prototype.getPrivateKey (encoding)

function crypto-browserify.DiffieHellmanGroup.prototype.getPublicKey (encoding)

module crypto-browserify.Hash

function crypto-browserify.Hash (algorithm, options)

function crypto-browserify.Hash.super_ (options)

module crypto-browserify.Hash.prototype

function crypto-browserify.Hash.prototype._flush (callback)

function crypto-browserify.Hash.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Hash.prototype.digest (outputEncoding)

function crypto-browserify.Hash.prototype.update (data, encoding)

module crypto-browserify.Hmac

function crypto-browserify.Hmac (hmac, key, options)

function crypto-browserify.Hmac.super_ (options)

module crypto-browserify.Hmac.prototype

function crypto-browserify.Hmac.prototype._flush (callback)

function crypto-browserify.Hmac.prototype._transform (chunk, encoding, callback)

function crypto-browserify.Hmac.prototype.digest (outputEncoding)

function crypto-browserify.Hmac.prototype.update (data, encoding)

module crypto-browserify.createDiffieHellman

function crypto-browserify.createDiffieHellman (sizeOrKey, keyEncoding, generator, genEncoding)

module crypto-browserify.createDiffieHellman.prototype

function crypto-browserify.createDiffieHellman.prototype.computeSecret (key, inEnc, outEnc)

function crypto-browserify.createDiffieHellman.prototype.generateKeys (encoding)

function crypto-browserify.createDiffieHellman.prototype.getGenerator (encoding)

function crypto-browserify.createDiffieHellman.prototype.getPrime (encoding)

function crypto-browserify.createDiffieHellman.prototype.getPrivateKey (encoding)

function crypto-browserify.createDiffieHellman.prototype.getPublicKey (encoding)

function crypto-browserify.createDiffieHellman.prototype.setPrivateKey (key, encoding)

function crypto-browserify.createDiffieHellman.prototype.setPublicKey (key, encoding)

module crypto-browserify.createSign

function crypto-browserify.createSign (algorithm, options)

function crypto-browserify.createSign.super_ (options)

module crypto-browserify.createSign.prototype

function crypto-browserify.createSign.prototype._write (chunk, encoding, callback)

function crypto-browserify.createSign.prototype.sign (options, encoding)

function crypto-browserify.createSign.prototype.update (data, encoding)

module crypto-browserify.createVerify

function crypto-browserify.createVerify (algorithm, options)

function crypto-browserify.createVerify.super_ (options)

module crypto-browserify.createVerify.prototype

function crypto-browserify.createVerify.prototype._write (chunk, encoding, callback)

function crypto-browserify.createVerify.prototype.update (data, encoding)

function crypto-browserify.createVerify.prototype.verify (object, signature, sigEncoding)

[ this document was created with utility2 ]