* Performs encode on given content. * @protected * @param {Chain} content * @return {number[]|string|Uint8Array|Chain|Promise} Encoded content
(content)
| 85 | * @return {number[]|string|Uint8Array|Chain|Promise} Encoded content |
| 86 | */ |
| 87 | performEncode (content) { |
| 88 | const algorithmName = this.getSettingValue('algorithm') |
| 89 | return this.createDigest(algorithmName, content.getBytes()) |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Creates message digest using given algorithm. |
nothing calls this directly
no test coverage detected