-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: crypto refactored... removed crypto-js
- Loading branch information
Showing
41 changed files
with
709 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Original work Copyright (c) 2018 PoC-Consortium | ||
* Modified work Copyright (c) 2019 Burst Apps Team | ||
* Modified work Copyright (c) 2024 Signum Network | ||
*/ | ||
|
||
import {base32Length, cwmap, alphabet, initialCodeword} from './internal'; | ||
import {} from "@signumjs/crypto" | ||
import {convertHexStringToDecString} from '@signumjs/util'; | ||
|
||
/** | ||
* @internal | ||
* Converts hexadecimal public key into numeric Id | ||
* @param address The Reed-Solomon address | ||
* @return The numeric id, or undefined if address is invalid | ||
* @module core | ||
*/ | ||
export const convertPublicKeyToNumericId = (publicKey: string): string => { | ||
|
||
// FIXME: | ||
|
||
return "" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.