• Home
  • Raw
  • Download

Lines Matching refs:inputEncoding

338 ### `cipher.update(data[, inputEncoding][, outputEncoding])`
344 description: The default `inputEncoding` changed from `binary` to `utf8`.
348 * `inputEncoding` {string} The [encoding][] of the data.
352 Updates the cipher with `data`. If the `inputEncoding` argument is given,
354 argument is a string using the specified encoding. If the `inputEncoding`
357 `inputEncoding` is ignored.
548 ### `decipher.update(data[, inputEncoding][, outputEncoding])`
554 description: The default `inputEncoding` changed from `binary` to `utf8`.
558 * `inputEncoding` {string} The [encoding][] of the `data` string.
562 Updates the decipher with `data`. If the `inputEncoding` argument is given,
564 argument is a string using the specified encoding. If the `inputEncoding`
566 [`Buffer`][] then `inputEncoding` is ignored.
608 ### `diffieHellman.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding])`
614 * `inputEncoding` {string} The [encoding][] of an `otherPublicKey` string.
620 key is interpreted using the specified `inputEncoding`, and secret is
622 If the `inputEncoding` is not
793 ### Static method: `ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])`
800 * `inputEncoding` {string} The [encoding][] of the `key` string.
808 interpreted using the specified `inputEncoding`, and the returned key is encoded
818 If the `inputEncoding` is not provided, `key` is expected to be a [`Buffer`][],
841 ### `ecdh.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding])`
851 description: The default `inputEncoding` changed from `binary` to `utf8`.
855 * `inputEncoding` {string} The [encoding][] of the `otherPublicKey` string.
861 key is interpreted using specified `inputEncoding`, and the returned secret
863 If the `inputEncoding` is not
1101 ### `hash.update(data[, inputEncoding])`
1107 description: The default `inputEncoding` changed from `binary` to `utf8`.
1111 * `inputEncoding` {string} The [encoding][] of the `data` string.
1114 is given in `inputEncoding`.
1117 `DataView`, then `inputEncoding` is ignored.
1198 ### `hmac.update(data[, inputEncoding])`
1204 description: The default `inputEncoding` changed from `binary` to `utf8`.
1208 * `inputEncoding` {string} The [encoding][] of the `data` string.
1211 is given in `inputEncoding`.
1214 `DataView`, then `inputEncoding` is ignored.
1468 ### `sign.update(data[, inputEncoding])`
1474 description: The default `inputEncoding` changed from `binary` to `utf8`.
1478 * `inputEncoding` {string} The [encoding][] of the `data` string.
1481 is given in `inputEncoding`.
1484 `DataView`, then `inputEncoding` is ignored.
1508 ### `verify.update(data[, inputEncoding])`
1514 description: The default `inputEncoding` changed from `binary` to `utf8`.
1518 * `inputEncoding` {string} The [encoding][] of the `data` string.
1521 is given in `inputEncoding`.
1522 If `inputEncoding` is not provided, and the `data` is a string, an
1524 `DataView`, then `inputEncoding` is ignored.