Amend Primitives/Tooling

This commit is contained in:
Jim Hamill
2025-01-13 09:43:11 +00:00
parent 06c9d52b56
commit f53fc4b456
29 changed files with 817 additions and 463 deletions
+19 -6
View File
@@ -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>