Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public-vc #41

Merged
merged 1 commit into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .123trigger
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@types/jest": "^29.4.0",
"@zcloak/dev": "^0.19.0",
"@zcloak/dev": "^0.20.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"fs-extra": "^11.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake2/asHex.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hexToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake2/asU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hexToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake2/asU8a.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake2/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3-2to1/asU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { blake3 } from '@noble/hashes/blake3';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3-2to1/asU8a.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3-2to1/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { blake32to1AsHex, blake32to1AsU8a } from './asU8a';
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3/asU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3/asU8a.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/blake3/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { blake3AsHex, blake3AsU8a } from './asU8a';
2 changes: 1 addition & 1 deletion packages/crypto/src/bn.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export const BN_BE_OPTS = { isLe: false };
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/convertKey.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aToHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/convertKey.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { assertReturn } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/deriveHard.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { compactAddLength, isU8a, stringToU8a, u8aConcat } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/ed25519DeriveHard.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/fromSeed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { stringToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/fromSeed.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Keypair } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/sign.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Keypair } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/sign.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/verify.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { stringToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ed25519/verify.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/encode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/encode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/hdEthereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Keypair } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { ethereumEncode } from './encode';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/isAddress.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/isAddress.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/isChecksum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aToHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/ethereum/isCheksum.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/hmac/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { hmacShaAsU8a, hmacSha256AsU8a, hmacSha512AsU8a } from './shaAsU8a';
2 changes: 1 addition & 1 deletion packages/crypto/src/hmac/shaAsU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hexToU8a, stringToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/hmac/shaAsU8a.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hmac } from '@noble/hashes/hmac';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export * from './blake2';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/initCrypto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { utils as utilsNobleSecp256k1 } from '@noble/secp256k1';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/json/canonicalize.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import canonicalize from 'canonicalize';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/json/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export * from './canonicalize';
2 changes: 1 addition & 1 deletion packages/crypto/src/keccak/asU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hexToU8a, stringToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/keccak/asU8a.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { keccak_256 as keccak256, keccak_512 as keccak512 } from '@noble/hashes/sha3';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/keccak/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { keccak256AsU8a, keccak512AsU8a } from './asU8a';
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/generate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/generate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { entropyToMnemonic } from 'bip39';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { mnemonicGenerate } from './generate';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/toLegacySeed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aToHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/toLegacySeed.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { mnemonicToSeedSync } from 'bip39';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/toMiniSecret.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aToHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/toMiniSecret.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { hexToU8a, stringToU8a } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/toMiniSecretCmp.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aEq } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/validate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { initCrypto } from '../initCrypto';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/mnemonic/validate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { validateMnemonic } from 'bip39';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/bs32.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { utils } from '@scure/base';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/bs58.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { base58 } from '@scure/base';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/bs64.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { base64 } from '@scure/base';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

interface Coder {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { base32Decode, isBase32 } from './bs32';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/multibase/multibase.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { base32Decode, base32Encode, base32Validate } from './bs32';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/nacl.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Keypair } from './types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/nacl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from './types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/pbkdf2/encode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { u8aToHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/pbkdf2/encode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/pbkdf2/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { pbkdf2Encode } from './encode';
2 changes: 1 addition & 1 deletion packages/crypto/src/random/asHex.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { isHex } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/random/asNumber.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { randomAsNumber } from '.';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/random/asNumber.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { BN, hexToBn } from '@polkadot/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/random/asU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 zcloak authors & contributors
// Copyright 2021-2023 zcloak authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { isU8a } from '@polkadot/util';
Expand Down
Loading