Amend Primitives/Tooling
This commit is contained in:
@@ -3,7 +3,8 @@ import PrimitiveToolVue, { type FromFunction, type ToFunction } from '@theme/com
|
||||
|
||||
// Import our tool functions
|
||||
import {
|
||||
encryption
|
||||
encrypter,
|
||||
hasher,
|
||||
} from './utils-functions.ts'
|
||||
</script>
|
||||
|
||||
@@ -11,15 +12,27 @@ import {
|
||||
|
||||
# Utils
|
||||
|
||||
## Encryption
|
||||
## Encrypter
|
||||
|
||||
<div class="tool">
|
||||
<p>A Utility tool for converting between different address formats.</p>
|
||||
<p>A Utility tool for encrypting data using AES-GCM.</p>
|
||||
<p>Additional parameters (Salt, Key Length, IV, etc) are available via the API.</p>
|
||||
|
||||
<PrimitiveToolVue
|
||||
:fromFunctions="encryption.from"
|
||||
:toFunctions="encryption.to"
|
||||
:methods="encryption.methods"
|
||||
:fromFunctions="encrypter.from"
|
||||
:toFunctions="encrypter.to"
|
||||
:methods="encrypter.methods"
|
||||
/>
|
||||
</div>
|
||||
|
||||
## Hasher
|
||||
|
||||
<div class="tool">
|
||||
<p>A utility tool for computing various cryptographic hashes commonly used in Bitcoin Cash.</p>
|
||||
|
||||
<PrimitiveToolVue
|
||||
:fromFunctions="hasher.from"
|
||||
:toFunctions="hasher.to"
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user