fix comment (#1119)

Co-authored-by: admin <admin@adminnoMacBook-Air.local>
This commit is contained in:
Tomokazu Kozuma
2021-09-29 10:20:59 +02:00
committed by GitHub
co-authored by admin
parent 26b0630cd3
commit e61cd53e08
+1 -1
View File
@@ -19,7 +19,7 @@ import { blake2b, isReady } from '@polkadot/wasm-crypto';
* ```javascript
* import { blake2AsU8a } from '@polkadot/util-crypto';
*
* blake2AsU8a('abc'); // => [0xba, 0x80, 0xa53, 0xf98, 0x1c, 0x4d, 0x0d]
* blake2AsU8a('abc'); // => [0xba, 0x80, 0xa5, 0x3f, 0x98, 0x1c, 0x4d, 0x0d]
* ```
*/
export function blake2AsU8a (data: HexString | Uint8Array | string, bitLength = 256, key?: Uint8Array | null, onlyJs = false): Uint8Array {