mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 20:48:02 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { bnToU8a, u8aConcat } from '@pezkuwi/util';
|
||||
import { BN_LE_32_OPTS } from '../bn.js';
|
||||
export function scryptToU8a(salt, { N, p, r }) {
|
||||
return u8aConcat(salt, bnToU8a(N, BN_LE_32_OPTS), bnToU8a(p, BN_LE_32_OPTS), bnToU8a(r, BN_LE_32_OPTS));
|
||||
}
|
||||
Reference in New Issue
Block a user